Documentation ¶
Index ¶
- type Operation
- type Stage
- func (s *Stage) Apply(ctx context.Context, fsop *gotfs.Operator, ms, ds cadata.Store, ...) (*gotfs.Root, error)
- func (s *Stage) CheckConflict(ctx context.Context, p string) error
- func (s *Stage) Delete(ctx context.Context, p string) error
- func (s *Stage) Discard(ctx context.Context, p string) error
- func (s *Stage) ForEach(ctx context.Context, fn func(p string, op Operation) error) error
- func (s *Stage) Get(ctx context.Context, p string) (*Operation, error)
- func (s *Stage) IsEmpty(ctx context.Context) (bool, error)
- func (s *Stage) Put(ctx context.Context, p string, root gotfs.Root) error
- func (s *Stage) Reset(ctx context.Context) error
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stage ¶
type Stage struct {
// contains filtered or unexported fields
}
func (*Stage) Get ¶
Get returns the operation, if any, staged for the path p If there is no operation staged Get returns (nil, nil)
Click to show internal directories.
Click to hide internal directories.