Expand description
Defines the interface for the working copy. See LocalWorkingCopy
for the
default local-disk implementation.
Structs§
- Checkout
Options - Options used when checking out a tree in the working copy.
- Checkout
Stats - Stats about a checkout operation on a working copy. All “files” mentioned below may also be symlinks or materialized conflicts.
- Snapshot
Options - Options used when snapshotting the working copy. Some of them may be ignored
by some
WorkingCopy
implementations. - Snapshot
Stats - Stats about a snapshot operation on a working copy.
- Working
Copy State Error - An error while reading the working copy state.
Enums§
- Checkout
Error - The working-copy checkout failed.
- Recover
Workspace Error - An error while recovering a stale working copy.
- Reset
Error - An error while resetting the working copy.
- Snapshot
Error - An error while snapshotting the working copy.
- Untracked
Reason - Reason why the new path isn’t tracked.
- Working
Copy Freshness - Whether the working copy is stale or not.
Traits§
- Locked
Working Copy - A working copy that’s being modified.
- Working
Copy - The trait all working-copy implementations must implement.
- Working
Copy Factory - 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§
- Snapshot
Progress - A callback for getting progress updates.