Documentation ¶
Index ¶
- type PathManager
- func (m *PathManager) Access(ctx context.Context, entryPath string, callerUid, callGid int64, ...) error
- func (m *PathManager) Controller() controller.Controller
- func (m *PathManager) CreateAll(ctx context.Context, entryPath string, attr types.EntryAttr) (*types.Metadata, error)
- func (m *PathManager) CreateFile(ctx context.Context, parentDir string, attr types.EntryAttr) (*types.Metadata, error)
- func (m *PathManager) FindEntry(ctx context.Context, entryPath string) (*types.Metadata, error)
- func (m *PathManager) FindParentEntry(ctx context.Context, entryPath string) (*types.Metadata, error)
- func (m *PathManager) GetEntry(ctx context.Context, entryID int64) (*types.Metadata, error)
- func (m *PathManager) ListEntry(ctx context.Context, dirPath string) ([]*types.Metadata, error)
- func (m *PathManager) Open(ctx context.Context, enId int64, attr types.OpenAttr) (dentry.File, error)
- func (m *PathManager) RemoveAll(ctx context.Context, entryPath string, recursion bool) error
- func (m *PathManager) Rename(ctx context.Context, oldPath, entryPath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PathManager ¶
type PathManager struct {
// contains filtered or unexported fields
}
func New ¶
func New(controller controller.Controller) (*PathManager, error)
func (*PathManager) Controller ¶
func (m *PathManager) Controller() controller.Controller
func (*PathManager) CreateFile ¶
func (*PathManager) FindParentEntry ¶
Click to show internal directories.
Click to hide internal directories.