explicit bucket aware declaration

This commit is contained in:
chrislu
2022-07-21 18:23:53 -07:00
parent 6147b61b0a
commit c93f7ffa44
4 changed files with 8 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ type AbstractSqlStore struct {
dbsLock sync.Mutex
}
var _ filer.BucketAware = (*AbstractSqlStore)(nil)
func (store *AbstractSqlStore) CanDropWholeBucket() bool {
return store.SupportBucketTable
}