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

Method normalized

atomic-audit/src/substantive/mod.rs:30–34  ·  view source on GitHub ↗
(&mut self, node: Node<'_>)

Source from the content-addressed store, hash-verified

28 }
29
30 fn normalized(&mut self, node: Node<'_>) -> Result<Vec<tokens::Token>, &'static str> {
31 self.charge(node)?;
32 tokens::leaf_tokens(node, self.source, 80_000)
33 .map_err(|_| "Substantive audit token budget exceeded")
34 }
35
36 fn compact(&mut self, node: Node<'_>) -> Result<String, &'static str> {
37 Ok(self

Callers 4

forwarding_wrapperFunction · 0.45
vacuous_assertionFunction · 0.45
compactMethod · 0.45
inspectFunction · 0.45

Calls 2

leaf_tokensFunction · 0.85
chargeMethod · 0.45

Tested by

no test coverage detected