Documentation
¶
Index ¶
- Constants
- func Constructor(params json.RawMessage, mkSchema schema.Factory) (schema.Schema, error)
- func DiffRefs(ctx context.Context, src cadata.Getter, left, right glfs.Ref, ...) error
- func Load(ctx context.Context, txn *bcsdk.Tx) (*glfs.Ref, error)
- func MarshalRef(ref *glfs.Ref) []byte
- func ParseRef(root []byte) (*glfs.Ref, error)
- func SyncTx(ctx context.Context, srcTx, dstTx *bcsdk.Tx) error
- func SyncVolume(ctx context.Context, svc blobcache.Service, srcVol, dstVol blobcache.Handle) error
- type Schema
- type Spec
Constants ¶
View Source
const SchemaName blobcache.SchemaName = "glfs"
Variables ¶
This section is empty.
Functions ¶
func Constructor ¶ added in v0.0.2
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.