|
@ -64,7 +64,6 @@ type WFS struct { |
|
|
stats statsCache |
|
|
stats statsCache |
|
|
|
|
|
|
|
|
root fs.Node |
|
|
root fs.Node |
|
|
fsNodeCache *FsCache |
|
|
|
|
|
|
|
|
|
|
|
chunkCache *chunk_cache.ChunkCache |
|
|
chunkCache *chunk_cache.ChunkCache |
|
|
metaCache *meta_cache.MetaCache |
|
|
metaCache *meta_cache.MetaCache |
|
@ -102,7 +101,6 @@ func NewSeaweedFileSystem(option *Option) *WFS { |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
wfs.root = &Dir{name: wfs.option.FilerMountRootPath, wfs: wfs} |
|
|
wfs.root = &Dir{name: wfs.option.FilerMountRootPath, wfs: wfs} |
|
|
// wfs.fsNodeCache = newFsCache(wfs.root)
|
|
|
|
|
|
|
|
|
|
|
|
return wfs |
|
|
return wfs |
|
|
} |
|
|
} |
|
|