Skip to main content

save_source

Function save_source 

Source
pub fn save_source(
    repo_root: &Path,
    source: &ReviewSource,
    session: &Session,
) -> Result<(), StoreError>
Expand description

Persist one source’s session atomically (temp file then rename). Migrates the working tree off the legacy file by removing it once the new file lands.