package
0.0.0-20201020153340-53909ea70814
Repository: https://github.com/gagliardetto/golang-go.git
Documentation: pkg.go.dev

# Functions

Contains reports whether x contains s.
FoldDup reports a pair of strings from the list that are equal according to strings.EqualFold.
GlobsMatchPath reports whether any path prefix of target matches one of the glob patterns (as defined by path.Match) in the comma-separated globs list.
HasFilePathPrefix reports whether the filesystem path s begins with the elements in prefix.
HasPath reports whether the slash-separated path s begins with the elements in prefix.
SplitQuotedFields splits s into a list of fields, allowing single or double quotes around elements.
StringList flattens its arguments into a single []string.
ToFold returns a string with the property that strings.EqualFold(s, t) iff ToFold(s) == ToFold(t) This lets us test a large set of strings for fold-equivalent duplicates without making a quadratic number of calls to EqualFold.