Skip to main content

compute_diff_with_options

Function compute_diff_with_options 

Source
pub fn compute_diff_with_options(
    root: &Path,
    manifest: &Manifest,
    options: &WalkOptions,
) -> Result<DiffResult>
Expand description

Compare the filesystem at root against the manifest with explicit walk filters. Excluded files are treated like deleted manifest entries so stale cached chunks are pruned from the index.

§Errors

Returns an error if the root directory cannot be read.