aboutsummaryrefslogtreecommitdiff
path: root/weed/filer2/filer_structure.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/filer2/filer_structure.go')
-rw-r--r--weed/filer2/filer_structure.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/weed/filer2/filer_structure.go b/weed/filer2/filer_structure.go
index 2aa3d44d2..c78704184 100644
--- a/weed/filer2/filer_structure.go
+++ b/weed/filer2/filer_structure.go
@@ -28,7 +28,6 @@ type Attr struct {
Uid uint32 // owner uid
Gid uint32 // group gid
Size uint64 // total size in bytes
- Nlink uint32 // number of links (usually 1)
}
type Entry struct {
@@ -60,7 +59,6 @@ var ErrNotFound = errors.New("filer: no entry is found in filer store")
type FilerStore interface {
InsertEntry(*Entry) (error)
- AddDirectoryLink(directory *Entry, delta int32) (err error)
AppendFileChunk(FullPath, FileChunk) (err error)
FindEntry(FullPath) (found bool, entry *Entry, err error)
DeleteEntry(FullPath) (fileEntry *Entry, err error)