You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
510 B

  1. package embedded_filer
  2. import (
  3. "github.com/chrislusf/seaweedfs/weed/filer"
  4. )
  5. type DirectoryManager interface {
  6. FindDirectory(dirPath string) (filer.DirectoryId, error)
  7. ListDirectories(dirPath string) (dirs []filer.DirectoryEntry, err error)
  8. MakeDirectory(currentDirPath string, dirName string) (filer.DirectoryId, error)
  9. MoveUnderDirectory(oldDirPath string, newParentDirPath string) error
  10. DeleteDirectory(dirPath string) error
  11. //functions used by FUSE
  12. FindDirectoryById(filer.DirectoryId, error)
  13. }