aboutsummaryrefslogtreecommitdiff
path: root/weed/util/fullpath.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-08-07 01:34:32 -0700
committerchrislu <chris.lu@gmail.com>2022-08-07 01:34:32 -0700
commit67814a5c79078e0fd6ca226501b7e48cb2e0558f (patch)
tree73df37af06bf6b51e4305d38894ab73dd7aada00 /weed/util/fullpath.go
parent1a4bf0dcb5852c62070fe9627b7e63c5d55bb460 (diff)
downloadseaweedfs-67814a5c79078e0fd6ca226501b7e48cb2e0558f.tar.xz
seaweedfs-67814a5c79078e0fd6ca226501b7e48cb2e0558f.zip
refactor and fix strings.Split
Diffstat (limited to 'weed/util/fullpath.go')
-rw-r--r--weed/util/fullpath.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/util/fullpath.go b/weed/util/fullpath.go
index 6ac2af14f..94fe37f36 100644
--- a/weed/util/fullpath.go
+++ b/weed/util/fullpath.go
@@ -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
}