Skip to main content

checkout

Function checkout 

Source
pub fn checkout(
    obj_store: &mut GitObjectStore,
    commits_table: &CommitsTable,
    commit_id: &str,
) -> Result<()>
Expand description

Checkout a previous commit: load its Parquet snapshots into the live store.

This replaces the current store contents with the committed state.