Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hasPathPrefix (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	}
    }
    
    func filterWithAttrsFunction(key string, p storage.SelectionPredicate) filterWithAttrsFunc {
    	filterFunc := func(objKey string, label labels.Set, field fields.Set) bool {
    		if !hasPathPrefix(objKey, key) {
    			return false
    		}
    		return p.MatchesObjectAttributes(label, field)
    	}
    	return filterFunc
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/load.go

    // path when imported from the standard-library package at parentPath.
    func (ld *loader) stdVendor(parentPath, path string) string {
    	if search.IsStandardImportPath(path) {
    		return path
    	}
    
    	if str.HasPathPrefix(parentPath, "cmd") {
    		if !ld.VendorModulesInGOROOTSrc || !MainModules.Contains("cmd") {
    			vendorPath := pathpkg.Join("cmd", "vendor", path)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
Back to top