mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-02 18:22:40 +01:00
go fmt
This commit is contained in:
1 parent
97406333a5
commit
78ac2bef3c
7 files changed
+18
-18
No files matched your search
@@ -39,7 +39,7 @@ func (c *commandFsTree) Do(args []string, commandEnv *commandEnv, writer io.Writ
|
||||
if path == "/" {
|
||||
dir, name = "/", ""
|
||||
} else {
|
||||
dir, name = path[0 : len(path)-1], ""
|
||||
dir, name = path[0:len(path)-1], ""
|
||||
}
|
||||
}
|
||||
|
||||
@@ -124,7 +124,7 @@ func (p *Prefix) getPrefix(level int, isLastChild bool) string {
|
||||
}
|
||||
if isLastChild {
|
||||
sb.WriteString("└──")
|
||||
p.removeMarker(level);
|
||||
p.removeMarker(level)
|
||||
} else {
|
||||
sb.WriteString("├──")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user