diff options
| author | chrislu <chris.lu@gmail.com> | 2022-08-07 01:34:32 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-08-07 01:34:32 -0700 |
| commit | 67814a5c79078e0fd6ca226501b7e48cb2e0558f (patch) | |
| tree | 73df37af06bf6b51e4305d38894ab73dd7aada00 /weed/util/fullpath.go | |
| parent | 1a4bf0dcb5852c62070fe9627b7e63c5d55bb460 (diff) | |
| download | seaweedfs-67814a5c79078e0fd6ca226501b7e48cb2e0558f.tar.xz seaweedfs-67814a5c79078e0fd6ca226501b7e48cb2e0558f.zip | |
refactor and fix strings.Split
Diffstat (limited to 'weed/util/fullpath.go')
| -rw-r--r-- | weed/util/fullpath.go | 2 |
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 } |
