package
0.2.0-pre2
Repository: https://github.com/knieriem/gointernal.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.
HasFilePathPrefix reports whether the filesystem path s begins with the elements in prefix.
HasPathPrefix reports whether the slash-separated path s begins with the elements in prefix.
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.
TrimFilePathPrefix returns s without the leading path elements in prefix.
Uniq removes consecutive duplicate strings from ss.