Skip to main content

Module manifest

Module manifest 

Source
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;
pub use crate::domain::paths::PLAN_ZONE_VAR;

Structs§

DeclaredPathError
A --plan-zone or --docs-scratch value the arguments cannot mean.
LegacyManifest
The parts of an older manifest an upgrade needs.
LegacyOwnedFile
One version-1 managed entry: only what the conflict scan reads.
Manifest
Everything an instance records about itself.

Enums§

ManifestParseError
A manifest that could not be accepted.
PlanZone
Where the project’s planning tool writes its entry documents.

Constants§

CANON_SOURCE
Where the canon is published.
SCHEMA_VERSION
The manifest schema this binary reads and writes.

Functions§

parse_docs_scratch
Read the --docs-scratch argument.
validate_docs_scratch_path
Whether a recorded docs-scratch path is one a reader can resolve.
validate_plan_zone_path
Whether a recorded plan-zone path is one a gate can resolve.