Skip to main content

point_git_at_for_tests

Function point_git_at_for_tests 

Source
pub fn point_git_at_for_tests(cwd: &Path, program: &Path)
Expand description

Point cwd’s git spawns at program: the testing feature’s seam, so a crate whose fixtures need a held child drives the same wrapper this crate’s own tests do. Pair with clear_git_point_for_tests.