Skip to main content

Crate covguard_adapters_artifacts

Crate covguard_adapters_artifacts 

Source
Expand description

Artifact persistence adapters for covguard outputs.

This crate centralizes filesystem output behavior for reports and related artifacts so CLI and other adapters can share the same contract.

Structs§

FsArtifactWriter
Concrete artifact writer used by the CLI and other adapters.

Enums§

ArtifactWriteError
Errors encountered while writing artifacts.

Functions§

ensure_parent_dir
Ensure the parent directory for a path exists.
write_fallback_receipt
Write fallback/runtime output as a JSON report.
write_raw_artifacts
Write raw lint/repro inputs for debugging.
write_raw_artifacts_to
Write raw lint/repro inputs to a supplied directory.
write_report
Write a domain report JSON payload to disk.
write_text
Write markdown or SARIF output text to disk.