Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for vendorExclude (0.23 sec)

  1. src/cmd/internal/pkgpattern/pkgpattern.go

    	// Using package regexp guarantees linear-time matching.
    
    	const vendorChar = "\x00"
    
    	if vendorExclude && strings.Contains(pattern, vendorChar) {
    		return func(name string) bool { return false }
    	}
    
    	re := regexp.QuoteMeta(pattern)
    	wild := `.*`
    	if vendorExclude {
    		wild = `[^` + vendorChar + `]*`
    		re = replaceVendor(re, vendorChar)
    		switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 16:43:40 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top