Skip to main content

restore_worktree_and_index

Function restore_worktree_and_index 

Source
pub fn restore_worktree_and_index(
    layout: &RepoLayout,
    store: &ObjectStore,
    tree_hash: Hash,
) -> Result<(), String>
Expand description

Materialise tree_hash and align the index while preserving .mkitignore entries.