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;

Structs§

DeclaredPathError
A --docs-scratch value the argument 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.

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-scratch argument.
validate_docs_scratch_path
Whether a recorded docs-scratch path is one a reader can resolve.