mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-30 13:07:55 +08:00
16 lines
506 B
Go
16 lines
506 B
Go
|
package embedded_filer
|
||
|
|
||
|
import (
|
||
|
"github.com/chrislusf/weed-fs/go/filer"
|
||
|
)
|
||
|
|
||
|
type DirectoryManager interface {
|
||
|
FindDirectory(dirPath string) (filer.DirectoryId, error)
|
||
|
ListDirectories(dirPath string) (dirs []filer.DirectoryEntry, err error)
|
||
|
MakeDirectory(currentDirPath string, dirName string) (filer.DirectoryId, error)
|
||
|
MoveUnderDirectory(oldDirPath string, newParentDirPath string) error
|
||
|
DeleteDirectory(dirPath string) error
|
||
|
//functions used by FUSE
|
||
|
FindDirectoryById(filer.DirectoryId, error)
|
||
|
}
|