Skip to main content

restore

Function restore 

Source
pub fn restore(
    project: &Path,
    git_ref: &str,
    path: Option<&str>,
) -> Result<String, String>
Expand description

Restore tracked files from a checkpoint into the working tree. With path scoped to a file/dir; otherwise the whole tree (tracked files only).