MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / success

Method success

core/src/validation.rs:24–30  ·  view source on GitHub ↗

Create a successful validation result

()

Source from the content-addressed store, hash-verified

22impl ValidationResult {
23 /// Create a successful validation result
24 pub fn success() -> Self {
25 Self {
26 is_valid: true,
27 errors: Vec::new(),
28 metadata: HashMap::with_capacity(4),
29 }
30 }
31
32 /// Create a failed validation result
33 pub fn failure(errors: Vec<ValidationError>) -> Self {

Callers 2

app.pyFile · 0.45
chatbot.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected