aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/weedfs.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/mount/weedfs.go')
-rw-r--r--weed/mount/weedfs.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/mount/weedfs.go b/weed/mount/weedfs.go
index 5f35d8112..8aa9c95a7 100644
--- a/weed/mount/weedfs.go
+++ b/weed/mount/weedfs.go
@@ -87,6 +87,10 @@ func (wfs *WFS) Root() *Directory {
return &wfs.root
}
+func (wfs *WFS) String() string {
+ return "seaweedfs"
+}
+
func (option *Option) setupUniqueCacheDirectory() {
cacheUniqueId := util.Md5String([]byte(option.MountDirectory + string(option.FilerAddresses[0]) + option.FilerMountRootPath + util.Version()))[0:8]
option.uniqueCacheDir = path.Join(option.CacheDir, cacheUniqueId)