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
12
13
pub fn node_output_relpath(node_id: &str, file: &str) -> String {
    crate::paths::node_output_relpath(node_id, file)
}

#[cfg(test)]
mod tests {
    use super::node_output_relpath;

    #[test]
    fn node_output_relpath_uses_nodes_outputs_layout() {
        assert_eq!(node_output_relpath("node-a", "result.bin"), "nodes/node-a/outputs/result.bin");
    }
}