Crate gix_worktree_state
source ·Expand description
A crate to help setting the worktree to a particular state.
Modules§
Functions§
- Checkout the entire
index
intodir
, and resolve objects found in index entries withobjects
to write their content to their respective path indir
. Usefiles
to count each fully checked out file, and count the amount writtenbytes
. Ifshould_interrupt
istrue
, the operation will abort.options
provide a lot of context on how to perform the operation.