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

Function includes_from_raw

codegraph-kernel/src/cfnptr.rs:1331–1336  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1329 }
1330
1331 #[test]
1332 fn includes_from_raw() {
1333 let f = facts("#include \"commands.def\"\n// #include \"in-comment.h\"\n");
1334 // Raw-text scan: the commented include IS captured (parity with the
1335 // JS INCLUDE_RE over raw text).
1336 assert_eq!(f.includes, vec!["commands.def", "in-comment.h"]);
1337 }
1338}

Callers

nothing calls this directly

Calls 1

factsFunction · 0.85

Tested by

no test coverage detected