Skip to main content
init
cargo_
test_
support
1.96.1
(31fca3adb 2026-06-26) (built from a source tarball)
In cargo_
test_
support::
git
cargo_test_support
::
git
Function
init
Copy item path
Source
pub fn init(path: &
Path
) ->
Repository
Expand description
(
git2
)
Initialize a new repository at the given path.