Skip to main content

git_check_update

Function git_check_update 

Source
pub fn git_check_update(
    path_fn: fn() -> Result<PathBuf>,
    repo: &str,
    branch: &str,
    remote: &str,
) -> Result<GitResponse>
Expand description

Checks if a git repository in the config folder has updates.

ยงArguments

  • path_fn - Returns the local folder of the repository.
  • repo - URL of the repository.
  • branch - Branch to check.
  • remote - Name of the remote.