aboutsummaryrefslogtreecommitdiff
path: root/weed/filer2/fullpath.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/filer2/fullpath.go')
-rw-r--r--weed/filer2/fullpath.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer2/fullpath.go b/weed/filer2/fullpath.go
index 20e42e9b9..be6e34431 100644
--- a/weed/filer2/fullpath.go
+++ b/weed/filer2/fullpath.go
@@ -25,7 +25,7 @@ func (fp FullPath) DirAndName() (string, string) {
return dir[:len(dir)-1], name
}
-func (fp FullPath) Name() (string) {
+func (fp FullPath) Name() string {
_, name := filepath.Split(string(fp))
return name
}