Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CleanPatterns (0.12 sec)

  1. src/cmd/go/internal/search/search.go

    		}
    
    		out = append(out, m)
    	}
    	return out
    }
    
    // CleanPatterns returns the patterns to use for the given command line. It
    // canonicalizes the patterns but does not evaluate any matches. For patterns
    // that are not local or absolute paths, it preserves text after '@' to avoid
    // modifying version queries.
    func CleanPatterns(patterns []string) []string {
    	if len(patterns) == 0 {
    		return []string{"."}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:05 UTC 2023
    - 15.4K bytes
    - Viewed (0)
Back to top