Enum git_testtools::Creation
source · pub enum Creation {
CopyFromReadOnly,
ExecuteScript,
}
Expand description
Define how scripted_fixture_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.