Expand description
The instance manifest: the persistent record of what an instance holds.
Schema version 3. The manifest is what lets a later sdd distinguish
managed drift from adopted reconciliation and its own version from the
instance’s. This module owns the shape and its parse-time invariants;
reading it from disk, comparing it to bytes, and writing it belong to
the services.
Re-exports§
pub use crate::domain::paths::DOCS_SCRATCH_VAR;pub use crate::domain::paths::INSTANCE_DIR;pub use crate::domain::paths::MANIFEST_PATH;
Structs§
- Declared
Path Error - A
--docs-scratchvalue the argument cannot mean. - Legacy
Manifest - The parts of an older manifest an upgrade needs.
- Legacy
Owned File - One version-1 managed entry: only what the conflict scan reads.
- Manifest
- Everything an instance records about itself.
Enums§
- Manifest
Parse Error - A manifest that could not be accepted.
Constants§
- CANON_
SOURCE - Where the canon is published.
- RETIRED_
FIELDS - Fields an earlier release of this schema version wrote and this one does not read.
- SCHEMA_
VERSION - The manifest schema this binary reads and writes.
Functions§
- parse_
docs_ scratch - Read the
--docs-scratchargument. - validate_
docs_ scratch_ path - Whether a recorded docs-scratch path is one a reader can resolve.