Skip to main content

build_checkpoint_tools

Function build_checkpoint_tools 

Source
pub fn build_checkpoint_tools(
    workspace: impl Into<PathBuf>,
    session_id: impl Into<String>,
) -> Option<(CheckpointList, CheckpointDiff, Arc<Mutex<ShadowRepo>>)>
Expand description

Build the read-only checkpoint tools for a given session. Returns None if the shadow repo cannot be opened (e.g. git missing).