mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 23:38:51 +08:00
go fmt
This commit is contained in:
@@ -41,7 +41,7 @@ func (fp FullPath) AsInode() uint64 {
|
||||
|
||||
// split, but skipping the root
|
||||
func (fp FullPath) Split() []string {
|
||||
if fp == "" || fp == "/"{
|
||||
if fp == "" || fp == "/" {
|
||||
return []string{}
|
||||
}
|
||||
return strings.Split(string(fp)[1:], "/")
|
||||
|
Reference in New Issue
Block a user