MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / contains_bytes

Function contains_bytes

codegraph-kernel/src/cfnptr.rs:182–184  ·  view source on GitHub ↗
(s: &[u8], needle: &[u8])

Source from the content-addressed store, hash-verified

180 None
181}
182
183fn contains_bytes(s: &[u8], needle: &[u8]) -> bool {
184 find_bytes(s, needle, 0).is_some()
185}
186
187/// `\bWORD\b` occurrence search from `from`.

Callers 2

scan_fntype_typedefsFunction · 0.85
scan_fileFunction · 0.85

Calls 1

find_bytesFunction · 0.85

Tested by

no test coverage detected