Versions in this module Expand all Collapse all v1 v1.1.10 Dec 12, 2023 Changes in this version + type Backend struct + func NewFileOpBackend(readUser ReadUserCallback) (*Backend, error) + 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 struct + func (m *Mount) IsFileOpMount() + func (m *Mount) Mountable() snapshot.Mountable + func (m *Mount) Readonly() bool + func (m *Mount) Release(ctx context.Context) error + type ReadUserCallback func(chopt *pb.ChownOpt, mu, mg snapshot.Mountable) (*copy.User, error) + type RefManager struct + func NewRefManager(cm cache.Manager, name string) *RefManager + func (rm *RefManager) Commit(ctx context.Context, mount fileoptypes.Mount) (fileoptypes.Ref, error) + func (rm *RefManager) Prepare(ctx context.Context, ref fileoptypes.Ref, readonly bool, g session.Group) (_ fileoptypes.Mount, rerr error)