Documentation ¶
Index ¶
- type Backend
- func (fb *Backend) Copy(ctx context.Context, m1, m2, user, group fileoptypes.Mount, ...) error
- func (fb *Backend) Mkdir(ctx context.Context, m, user, group fileoptypes.Mount, ...) error
- func (fb *Backend) Mkfile(ctx context.Context, m, user, group fileoptypes.Mount, ...) error
- func (fb *Backend) Rm(ctx context.Context, m fileoptypes.Mount, action pb.FileActionRm) error
- type Mount
- type RefManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct { }
func (*Backend) Copy ¶
func (fb *Backend) Copy(ctx context.Context, m1, m2, user, group fileoptypes.Mount, action pb.FileActionCopy) error
func (*Backend) Mkdir ¶
func (fb *Backend) Mkdir(ctx context.Context, m, user, group fileoptypes.Mount, action pb.FileActionMkDir) error
func (*Backend) Mkfile ¶
func (fb *Backend) Mkfile(ctx context.Context, m, user, group fileoptypes.Mount, action pb.FileActionMkFile) error
func (*Backend) Rm ¶
func (fb *Backend) Rm(ctx context.Context, m fileoptypes.Mount, action pb.FileActionRm) error
type Mount ¶
type Mount struct {
// contains filtered or unexported fields
}
func (*Mount) IsFileOpMount ¶
func (m *Mount) IsFileOpMount()
type RefManager ¶
type RefManager struct {
// contains filtered or unexported fields
}
func NewRefManager ¶
func NewRefManager(cm cache.Manager) *RefManager
func (*RefManager) Commit ¶
func (rm *RefManager) Commit(ctx context.Context, mount fileoptypes.Mount) (fileoptypes.Ref, error)
func (*RefManager) Prepare ¶
func (rm *RefManager) Prepare(ctx context.Context, ref fileoptypes.Ref, readonly bool, g session.Group) (_ fileoptypes.Mount, rerr error)
Click to show internal directories.
Click to hide internal directories.