Expand description
Path sets: what a task did to the workspace when it last ran, kept so a
later run can key it by how those paths are now. See
crate::ultracache for the target field that opts a task in.
A path set holds the files the task read, the directories it listed and the paths it looked up, found or missing. Its key, the strong key, hashes each file’s content, each directory’s listing and each path’s existence, on top of the weak key: the task’s key without its declared file inputs. A new file in a listed directory changes the listing; a file created where the task found nothing changes its existence.
Paths outside the workspace, node_modules, .git, qk’s own state, the
task’s outputs and warm paths, files it wrote before reading them and its
ignoreReads are left out.
Structs§
- Exclusions
- What a path set leaves out.
- PathSet