aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/flat_namespace/flat_namespace_store.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/filer/flat_namespace/flat_namespace_store.go')
-rw-r--r--weed/filer/flat_namespace/flat_namespace_store.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/weed/filer/flat_namespace/flat_namespace_store.go b/weed/filer/flat_namespace/flat_namespace_store.go
new file mode 100644
index 000000000..832b70e40
--- /dev/null
+++ b/weed/filer/flat_namespace/flat_namespace_store.go
@@ -0,0 +1,9 @@
+package flat_namespace
+
+import ()
+
+type FlatNamespaceStore interface {
+ Put(fullFileName string, fid string) (err error)
+ Get(fullFileName string) (fid string, err error)
+ Delete(fullFileName string) (fid string, err error)
+}