Skip to main content

enrich_with_git_timestamps

Function enrich_with_git_timestamps 

Source
pub fn enrich_with_git_timestamps(
    nodes: &mut [CodeNode],
    repo_root: &Path,
) -> Result<()>
Expand description

Enrich CodeNodes with last_modified timestamps from git log.

Runs git log for each unique file path and applies the timestamp to all nodes in that file.