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

Function kind_is

atomic-cli/src/commands/triage/project.rs:38–40  ·  view source on GitHub ↗

Case-insensitive edge-kind comparison, mirroring `QueryCallers`.

(kind: &str, expected: &str)

Source from the content-addressed store, hash-verified

36
37/// Case-insensitive edge-kind comparison, mirroring `QueryCallers`.
38fn kind_is(kind: &str, expected: &str) -> bool {
39 kind.eq_ignore_ascii_case(expected)
40}
41
42/// First 12 base32 chars — the short id used for `change:<short>` KG nodes.
43fn short12(hash_b32: &str) -> String {

Callers 1

build_reportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected