Enum git_testtools::Creation
source · [−]pub enum Creation {
CopyFromReadOnly,
ExecuteScript,
}Expand description
Define how scripted_fixture_repo_writable_with_args() uses produces the writable copy.
Variants
CopyFromReadOnly
Run the script once and copy the data from its output to the writable location. This is fast but won’t work if absolute paths are produced by the script.
ExecuteScript
Run the script in the writable location. That way, absolute paths match the location.
Auto Trait Implementations
impl RefUnwindSafe for Creation
impl Send for Creation
impl Sync for Creation
impl Unpin for Creation
impl UnwindSafe for Creation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more