Skip to main content

Module resource

Module resource 

Source

Structs§

ActionSpec
CheckpointSpec
How a resource captures branch-local state at checkpoint time.
CleanupSpec
How a resource tears its concrete instance down. Ownership decides whether the hook may run at all; this decides what running it means.
IdentitySpec
PortRequest
ResourceDefinition
A lifecycle unit that re-establishes per-branch state that can’t travel as content. Parsed from .newgit/resources/<name>.toml; the name comes from the filename.
RestoreSpec
How a resource re-establishes checkpointed state during undo.

Enums§

CheckpointMode
Ownership
Who owns the concrete instance and what cleanup may touch. Operational, not a security label.
RestoreMode

Functions§

parse_captures
Read an action’s declared captures out of its stdout.
topological_order
Order resources so dependencies come before dependents. Dependencies may name trackers (which only need to exist) or other resources.