Skip to main contentModule tracker
Source - TrackerDefinition
- A named, versioned lane of file content. Parsed from
.newgit/trackers/<name>.toml; the name comes from the filename. - TrackerDefinitionFile
- On-disk shape (everything but the filename-derived name).
- Storage
- collect_all_files
- Every file under
root, as (root-relative, absolute) pairs, sorted. - collect_files
- Files under the given root-relative paths, as (relative, absolute) pairs,
sorted by relative path. Missing paths are simply absent.
- collect_owned_files
- Files a tracker owns inside a workspace, as (relative, absolute) pairs,
sorted by relative path. Missing paths are simply absent.
- content_rev
- Content-addressed revision of a set of files:
hex12 over sorted
(path, length, bytes). Identical content dedupes to the same rev. - validate_disjoint
- Content lanes must be disjoint: no two trackers may own the same path or
nest inside each other, or projection/restore order would matter.