Skip to main content

restore_entries

Function restore_entries 

Source
pub(crate) fn restore_entries(
    entries: &[&GitStatusEntry],
    branch: Option<&str>,
) -> Result<()>
Expand description

Delete newly created paths then restore modified paths.

ยงErrors

  • File removal, unstaging, or restore command fails.