with_temp_bare_repository

Function with_temp_bare_repository 

Source
pub fn with_temp_bare_repository<F>(callback: F)
where F: FnOnce(Repository),
Expand description

Provide a bare repository for testing in a temporary directory.

ยงPanics

If the repository cannot be created for any reason, this function will panic.