cargo::ops::cargo_new

Function init_vcs

source
fn init_vcs(
    path: &Path,
    vcs: VersionControl,
    gctx: &GlobalContext,
) -> CargoResult<()>
Expand description

Initializes the correct VCS system based on the provided config.