pub fn init_test_repo(path: &Path) -> Result<()>
Expand description
We want to use a mock repo in tests but we don’t want have to manually initialise it or manage commiting new files. This method will ensure the test repo is a valid git repo with all files commited to the main branch. Typically test-registries/primary-registry/index.