Skip to main content

has_uncommitted_changes

Function has_uncommitted_changes 

Source
pub fn has_uncommitted_changes() -> Result<bool>
Expand description

Check if there are uncommitted changes (staged or unstaged)

Returns true if the working directory has changes that could be committed.