pub enum ArtefactResolution {
Resolved {
path: PathBuf,
},
Unresolved {
path: PathBuf,
},
Inline,
}Expand description
The resolution of a stored artefact reference against the mission dir.
A classification, never an error: every constructor path through
resolve_artefact is total.
Variants§
Resolved
A file: reference whose mission-relative bytes are present; the
payload is the absolute path to read them from.
Unresolved
A file: reference whose bytes are gone (a cleaned runs/, a pruned
mission, a discarded scratch checkout) — or whose path could never
resolve honestly inside a mission dir (absolute, .., symlinked).
The payload is the path that was probed, for diagnostics.
Inline
No file: scheme: the reference is the gate-local handle itself (a
command line, a description, a tracked suite path). Its evidence is
textual and travels in the event payload — there is nothing on disk
to re-find, so there is nothing that can go missing.
Trait Implementations§
Source§impl Clone for ArtefactResolution
impl Clone for ArtefactResolution
Source§fn clone(&self) -> ArtefactResolution
fn clone(&self) -> ArtefactResolution
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more