pub fn init_git_repo(path: &Path) -> Result<GitRepo, StorageError>Expand description
Initializes a new Git repository at the given path.
Args:
path: Filesystem path where the repository will be created.
Usage:
ⓘ
let repo = init_git_repo(Path::new("/tmp/new-repo"))?;