ObjectManifest
The committed record for one object.
Usage
ObjectManifest(
key,
kind,
locator,
policy=Policy(),
state=None,
pin=None,
captured_at=None,
recoverable=True,
origin="adopted"
)state/pin are None until the object has been committed at least once. recoverable is False for Observed-tier objects whose committed state cannot be reconstructed later (e.g. a mutable file by mtime).
Parameter Attributes
key: strkind: strlocator: Locatorpolicy: Policy = Policy()state: State | None = Nonepin: Pin | None = Nonecaptured_at: str | None = Nonerecoverable: bool = Trueorigin: Literal["adopted", "created"] = "adopted"-
created when
add --createmade the store. Informational – shown by status, never consulted bygc: a committed manifest is untrusted, and only the owner marker in the store itself says whose the store is.
Methods
| Name | Description |
|---|---|
| canonical() | Deterministic encoding used for the manifest hash. |
canonical()
Deterministic encoding used for the manifest hash.
Usage
canonical()