bijux-dag-artifacts 0.4.1

Artifact identity, persistence, integrity, and lifecycle helpers for Bijux DAG runs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Artifact crate service interfaces.

use crate::{ArtifactError, Manifest, RunDir};

pub trait RunArtifactStore {
    fn write_manifest(&self, run_dir: &RunDir, manifest: &Manifest) -> Result<(), ArtifactError>;
}

pub trait RunArtifactVerifier {
    fn verify_run_dir(&self, run_dir: &std::path::Path) -> Result<(), ArtifactError>;
}