aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/filer.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2016-09-07 21:07:11 -0700
committerGitHub <noreply@github.com>2016-09-07 21:07:11 -0700
commit99e47fc5fcd5743324feda9498a699717761924d (patch)
treeb57f95a290b27c8b83abaf953ab5c47b8ef1ce82 /weed/filer/filer.go
parent0559aa96738d727e055190301bbb0624c74ced7f (diff)
parent78474409a596aabd8e579716ba1f4939e7d62579 (diff)
downloadseaweedfs-99e47fc5fcd5743324feda9498a699717761924d.tar.xz
seaweedfs-99e47fc5fcd5743324feda9498a699717761924d.zip
Merge pull request #361 from hxiaodon/master
add mysql filer support
Diffstat (limited to 'weed/filer/filer.go')
-rw-r--r--weed/filer/filer.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/weed/filer/filer.go b/weed/filer/filer.go
index fd23e119c..5d5acb68d 100644
--- a/weed/filer/filer.go
+++ b/weed/filer/filer.go
@@ -1,5 +1,9 @@
package filer
+import (
+ "errors"
+)
+
type FileId string //file id in SeaweedFS
type FileEntry struct {
@@ -26,3 +30,5 @@ type Filer interface {
DeleteDirectory(dirPath string, recursive bool) (err error)
Move(fromPath string, toPath string) (err error)
}
+
+var ErrNotFound = errors.New("filer: no entry is found in filer store")