Searched defs:queryMatcher (Results 1 – 1 of 1) sorted by relevance
410 type queryMatcher struct { struct411 path string412 prefix string413 filter func(version string) bool414 allowed AllowedFunc415 canStat bool // if true, the query can be resolved by repo.Stat416 preferLower bool // if true, choose the lowest matching version417 mayUseLatest bool418 preferIncompatible bool545 func (qm *queryMatcher) allowsVersion(ctx context.Context, v string) bool {[all …]