filer: support cross filer meta data sync if sharing the same store

This commit is contained in:
Chris Lu
2020-07-06 09:24:54 -07:00
parent 0b8cc9b626
commit d198e8c6d6
4 changed files with 18 additions and 1 deletions

View File

@@ -60,6 +60,10 @@ func (f *Filer) SetStore(store FilerStore) {
f.store = NewFilerStoreWrapper(store)
}
func (f *Filer) GetStore() (store FilerStore) {
return f.store
}
func (f *Filer) DisableDirectoryCache() {
f.directoryCache = nil
}