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
491 B

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