Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CachedChange ¶ added in v0.19.3
type CachedChange = *cachedChange
type ChangeFunc ¶ added in v0.19.3
type ChangeFunc func(kind ChangeKind, path string, lowerStat, upperStat *types.Stat) error
type ChangeKind ¶ added in v0.19.3
type ChangeKind = fsutil.ChangeKind
const ( ChangeKindAdd ChangeKind = fsutil.ChangeKindAdd ChangeKindModify ChangeKind = fsutil.ChangeKindModify ChangeKindDelete ChangeKind = fsutil.ChangeKindDelete ChangeKindNone ChangeKind = fsutil.ChangeKindDelete + 1 )
type ChangeWithStat ¶ added in v0.19.3
type ChangeWithStat struct {
// contains filtered or unexported fields
}
type ErrConflict ¶ added in v0.19.3
func (*ErrConflict) Error ¶ added in v0.19.3
func (e *ErrConflict) Error() string
type FileSyncer ¶ added in v0.19.3
type FileSyncer struct {
// contains filtered or unexported fields
}
func NewFileSyncer ¶ added in v0.19.3
func NewFileSyncer(opt FileSyncerOpt) *FileSyncer
func (*FileSyncer) Snapshot ¶ added in v0.19.3
func (ls *FileSyncer) Snapshot( ctx context.Context, sharedState *MirrorSharedState, callerConn *grpc.ClientConn, clientPath string, opts SnapshotOpts, ) (bkcache.ImmutableRef, digest.Digest, error)
type FileSyncerOpt ¶ added in v0.19.3
type HashedStatInfo ¶ added in v0.19.3
type HashedStatInfo struct {
StatInfo
// contains filtered or unexported fields
}
func (*HashedStatInfo) Digest ¶ added in v0.19.3
func (s *HashedStatInfo) Digest() digest.Digest
type MirrorSharedState ¶ added in v0.21.0
type MirrorSharedState = localFSSharedState
func NewMirrorSharedState ¶ added in v0.21.0
func NewMirrorSharedState(rootPath string) *MirrorSharedState
type SnapshotOpts ¶ added in v0.19.3
Click to show internal directories.
Click to hide internal directories.