MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / validate

Function validate

atomic-shacl/tests/workflow_snapshot.rs:15–27  ·  view source on GitHub ↗
(repo: &Repository, profile: Profile)

Source from the content-addressed store, hash-verified

13use atomic_shacl::*;
14
15fn validate(repo: &Repository, profile: Profile) -> ValidationOutput {
16 let snapshot = repo.workflow_snapshot().unwrap();
17 let data = snapshot_ntriples(&snapshot.nodes, &snapshot.edges).unwrap();
18 validate_ntriples(
19 &data,
20 &snapshot.identity,
21 &ValidationRequest {
22 profile,
23 ..Default::default()
24 },
25 )
26 .unwrap()
27}
28
29#[test]
30fn ingested_sidecars_close_history_without_inventing_view_membership() {

Calls 4

snapshot_ntriplesFunction · 0.85
validate_ntriplesFunction · 0.85
workflow_snapshotMethod · 0.80
unwrapMethod · 0.45

Tested by

no test coverage detected