Skip to main content

get_status

Function get_status 

Source
pub fn get_status(_path: &Path) -> Result<Vec<(String, String)>>
Expand description

Gets the git status of the repository at the specified path.

§Parameters

  • path: The path to the git repository.

§Returns

  • Ok(Vec<(String, String)>) with a list of files and their statuses.
  • Err(Error) if an error occurred while getting the status.