pub struct RunArtifactPaths { /* private fields */ }Expand description
Paths for a complete shiplog run output directory.
out_dir is pub(crate) rather than pub because the
bundle-paths protected seam (cpf-0002 in
policy/clippy-protected-fields.toml)
guards against producer-local paths leaking into manifests.
External callers reach the run-directory components via the
accessor methods on this type (packet_md, ledger_events,
coverage_manifest, bundle_manifest, redaction_aliases,
profile_packet). The post-#206 audit confirmed zero external
callers read this field directly, so tightening visibility is a
no-behavior-change refactor.
Implementations§
Source§impl RunArtifactPaths
impl RunArtifactPaths
Sourcepub fn new(out_dir: impl Into<PathBuf>) -> Self
pub fn new(out_dir: impl Into<PathBuf>) -> Self
Construct a path helper for a given run output directory.
Sourcepub fn ledger_events(&self) -> PathBuf
pub fn ledger_events(&self) -> PathBuf
ledger.events.jsonl
Sourcepub fn coverage_manifest(&self) -> PathBuf
pub fn coverage_manifest(&self) -> PathBuf
coverage.manifest.json
Sourcepub fn bundle_manifest(&self) -> PathBuf
pub fn bundle_manifest(&self) -> PathBuf
bundle.manifest.json
Sourcepub fn profile_packet(&self, profile: impl AsRef<str>) -> PathBuf
pub fn profile_packet(&self, profile: impl AsRef<str>) -> PathBuf
profiles/<profile>/packet.md
Trait Implementations§
Source§impl Clone for RunArtifactPaths
impl Clone for RunArtifactPaths
Source§fn clone(&self) -> RunArtifactPaths
fn clone(&self) -> RunArtifactPaths
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RunArtifactPaths
impl RefUnwindSafe for RunArtifactPaths
impl Send for RunArtifactPaths
impl Sync for RunArtifactPaths
impl Unpin for RunArtifactPaths
impl UnsafeUnpin for RunArtifactPaths
impl UnwindSafe for RunArtifactPaths
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more