diff options
Diffstat (limited to 'weed/filer/filerstore.go')
| -rw-r--r-- | weed/filer/filerstore.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/filer/filerstore.go b/weed/filer/filerstore.go index a2b81c5d9..5e10bb0a6 100644 --- a/weed/filer/filerstore.go +++ b/weed/filer/filerstore.go @@ -50,6 +50,7 @@ type VirtualFilerStore interface { FilerStore DeleteHardLink(ctx context.Context, hardLinkId HardLinkId) error DeleteOneEntry(ctx context.Context, entry *Entry) error + AddPathSpecificStore(path string, store FilerStore) } type FilerStoreWrapper struct { @@ -67,7 +68,7 @@ func NewFilerStoreWrapper(store FilerStore) *FilerStoreWrapper { } } -func (fsw *FilerStoreWrapper) addStore(path string, store FilerStore) { +func (fsw *FilerStoreWrapper) AddPathSpecificStore(path string, store FilerStore) { fsw.pathToStore.Put([]byte(path), store) } |
