Skip to main content

restore_full

Function restore_full 

Source
pub fn restore_full(
    obj_store: &mut GitObjectStore,
    save_dir: &Path,
) -> Result<(Option<CommitsTable>, Option<RefsTable>)>
Expand description

Restore store state including commit history and refs.

Returns (CommitsTable, RefsTable) if they were persisted.