Skip to main content

Module cli

Module cli 

Source
Expand description

Git operations through the git executable.

Re-exportsยง

use crate::context::ProgressWhen; ๐Ÿ”’
use crate::sources::git::utils::note_git_config; ๐Ÿ”’
use crate::sources::git::utils::note_github_pull_request; ๐Ÿ”’
use crate::sources::git::utils::note_ssh_config; ๐Ÿ”’
use crate::util::GlobalContext; ๐Ÿ”’
use crate::util::errors::CargoResult; ๐Ÿ”’
use crate::util::errors::GitCliError; ๐Ÿ”’
use crate::util::network; ๐Ÿ”’
use cargo_util::ProcessBuilder; ๐Ÿ”’
use cargo_util::Stdio; ๐Ÿ”’
use cargo_util_terminal::Verbosity; ๐Ÿ”’
use tracing::debug; ๐Ÿ”’

Structsยง

GitVersion ๐Ÿ”’

Functionsยง

fetch_with_cli ๐Ÿ”’
Attempts to use git CLI installed on the system to fetch a repository, when the config value net.git-fetch-with-cli is set.
git_version ๐Ÿ”’