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

Method from

atomic-canonical/src/gate.rs:43–48  ·  view source on GitHub ↗
(results: Vec<Violation>)

Source from the content-addressed store, hash-verified

41
42impl ValidationReport {
43 fn from(results: Vec<Violation>) -> Self {
44 ValidationReport {
45 conforms: results.is_empty(),
46 results,
47 }
48 }
49}
50
51impl std::fmt::Display for ValidationReport {

Callers

nothing calls this directly

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected