Function fetch_remote
Source pub async fn fetch_remote(repo_path: PathBuf) -> Result<(), GitError>
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.
§Errors
Returns a GitError if git fetch cannot be executed successfully.