Module working_copy

Source
Expand description

Defines the interface for the working copy. See LocalWorkingCopy for the default local-disk implementation.

Structs§

CheckoutOptions
Options used when checking out a tree in the working copy.
CheckoutStats
Stats about a checkout operation on a working copy. All “files” mentioned below may also be symlinks or materialized conflicts.
SnapshotOptions
Options used when snapshotting the working copy. Some of them may be ignored by some WorkingCopy implementations.
SnapshotStats
Stats about a snapshot operation on a working copy.
WorkingCopyStateError
An error while reading the working copy state.

Enums§

CheckoutError
The working-copy checkout failed.
RecoverWorkspaceError
An error while recovering a stale working copy.
ResetError
An error while resetting the working copy.
SnapshotError
An error while snapshotting the working copy.
UntrackedReason
Reason why the new path isn’t tracked.
WorkingCopyFreshness
Whether the working copy is stale or not.

Traits§

LockedWorkingCopy
A working copy that’s being modified.
WorkingCopy
The trait all working-copy implementations must implement.
WorkingCopyFactory
The factory which creates and loads a specific type of working copy.

Functions§

create_and_check_out_recovery_commit
Recover this workspace to its last known checkout.

Type Aliases§

SnapshotProgress
A callback for getting progress updates.