Skip to main content

shadow_repo_path

Function shadow_repo_path 

Source
pub fn shadow_repo_path(checkpoints_root: &Path, working_dir: &Path) -> PathBuf
Expand description

Path to the shadow repo for a given working dir, anchored under the data dir’s checkpoints subfolder. Per-(checkpoints_root, working_dir) so two different chats with separate working dirs get separate shadow repos.