# Functions
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.
QuoteGlob returns s with all Glob metacharacters quoted.
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, such that joining the string to prefix produces s.
Uniq removes consecutive duplicate strings from ss.
WithFilePathSeparator returns s with a trailing path separator, or the empty string if s is empty.