refactor and fix strings.Split

This commit is contained in:
chrislu
2022-08-07 01:34:32 -07:00
parent 1a4bf0dcb5
commit 67814a5c79
8 changed files with 11 additions and 19 deletions

View File

@@ -71,7 +71,7 @@ func (fp FullPath) IsUnder(other FullPath) bool {
return strings.HasPrefix(string(fp), string(other)+"/")
}
func Split(separatedValues string, sep string) []string {
func StringSplit(separatedValues string, sep string) []string {
if separatedValues == "" {
return nil
}