Skip to main content

fetch_remote

Function fetch_remote 

Source
pub async fn fetch_remote(repo_path: PathBuf) -> Result<(), String>
Expand description

Re-exported commit/sync/diff APIs. Fetches from the configured remote.

§Arguments

  • repo_path - Path to the git repository root

§Returns

Ok(()) on success, Err(msg) with detailed error message on failure

§Errors

Returns an error if git fetch cannot be executed successfully.