Skip to main content

scripted_fixture_writable_with_args_with_git_version

Function scripted_fixture_writable_with_args_with_git_version 

Source
pub fn scripted_fixture_writable_with_args_with_git_version(
    script_name: impl AsRef<Path>,
    args: impl IntoIterator<Item = impl Into<String>>,
    mode: Creation,
    is_git_version_compatible: impl FnOnce((u8, u8, u8)) -> bool,
) -> Result<Option<TempDir>>
Expand description

Like scripted_fixture_writable_with_git_version(), but passes args to script_name while providing control over the way files are created with mode.