Skip to main content

load_incremental

Function load_incremental 

Source
pub fn load_incremental(
    current_head: &str,
) -> Option<(Vec<SemanticGroup>, HashMap<String, u64>)>
Expand description

Try to load cached grouping for the given HEAD commit (incremental mode). Returns the cached groups and file hashes so the caller can compute the delta. Returns None if no cache, HEAD mismatch, empty file hashes, parse error, or oversized file.