Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MatchPrefixPatterns (0.19 sec)

  1. src/cmd/vendor/golang.org/x/mod/module/module.go

    			continue
    		}
    		if 'A' <= r && r <= 'Z' {
    			return "", false
    		}
    		buf = append(buf, byte(r))
    	}
    	if bang {
    		return "", false
    	}
    	return string(buf), true
    }
    
    // MatchPrefixPatterns reports whether any path prefix of target matches one of
    // the glob patterns (as defined by [path.Match]) in the comma-separated globs
    // list. This implements the algorithm used when matching a module path to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
Back to top