Documentation
¶
Index ¶
- func DiffRefs(ctx context.Context, src cadata.Getter, left, right glfs.Ref, ...) error
- func Load(ctx context.Context, txn *blobcache.Tx) (*glfs.Ref, error)
- func MarshalRef(ref *glfs.Ref) []byte
- func ParseRef(root []byte) (*glfs.Ref, error)
- func SyncTx(ctx context.Context, srcTx, dstTx *blobcache.Tx) error
- func SyncVolume(ctx context.Context, svc blobcache.Service, srcVol, dstVol blobcache.Handle) error
- type Schema
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffRefs ¶
func DiffRefs(ctx context.Context, src cadata.Getter, left, right glfs.Ref, fn func(left, right *glfs.Ref) error) error
DiffRefs calls fn for ecah ref that is only in the left filsystem or only in the right filesystem. Each call to fn, will only set one of left or right to non-nil.
func MarshalRef ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.