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

Function is_known_finding_code

atomic-canonical/src/vocab.rs:310–312  ·  view source on GitHub ↗

Is this a recognized triage finding code? Unknown ⇒ gate error.

(value: &str)

Source from the content-addressed store, hash-verified

308
309/// Is this a recognized triage finding code? Unknown ⇒ gate error.
310pub fn is_known_finding_code(value: &str) -> bool {
311 FINDING_CODE.contains(&value)
312}
313
314#[cfg(test)]
315mod tests {

Callers

nothing calls this directly

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected