Skip to main content

project_fingerprint

Function project_fingerprint 

Source
fn project_fingerprint(
    config: &Config,
    dependencies: &[PathBuf],
) -> BTreeMap<PathBuf, (u64, Option<SystemTime>)>
Expand description

Returns the size and modification time of each file that workspaces share with the project, by path relative to the root: the files in the dependencies directories, whose entries workspaces link, and behind links that lead outside the project. Workspaces copy every other file, so a change to one cannot come from an agent. Hidden entries and the build and cache directories are skipped. Each directory is read once.