Function list_remotes
Source pub fn list_remotes(_path: &Path) -> Result<Vec<(String, String)>>
Expand description
Lists all remote repositories.
§Parameters
path: The path to the git repository.
§Returns
Ok(Vec<(String, String)>) with a list of remote names and their URLs.
Err(Error) if an error occurred while listing remotes.