pub struct Taking {
pub keep: Option<PathBuf>,
pub also: Vec<PathBuf>,
pub launcher: Launcher,
}Expand description
How to take a Snapshot.
Fields§
§keep: Option<PathBuf>A directory on this machine for a git snapshot’s private index and
objects, and for a scan’s kept content, under checkpoints/;
None: scan, and keep no content.
also: Vec<PathBuf>Paths counted whole although ignore rules, hidden names or target
would leave them out, such as dist or .env: relative to the root,
or absolute under it.
launcher: LauncherHow a git snapshot starts git: as every other child process
starts, under the host’s wrapper, in its environment.
Trait Implementations§
impl Eq for Taking
impl StructuralPartialEq for Taking
Auto Trait Implementations§
impl Freeze for Taking
impl RefUnwindSafe for Taking
impl Send for Taking
impl Sync for Taking
impl Unpin for Taking
impl UnsafeUnpin for Taking
impl UnwindSafe for Taking
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.