Skip to main content

index_mtime_for_diff

Function index_mtime_for_diff 

Source
pub fn index_mtime_for_diff(
    index: &Index,
    explicit: Option<(u32, u32)>,
) -> Option<(u32, u32)>
Expand description

Effective index-file mtime for racy-git checks.

Uses an explicit override when provided, otherwise Index::source_mtime from the last on-disk read.