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

Function includes_from_raw

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

Source from the content-addressed store, hash-verified

1319 }
1320
1321 #[test]
1322 fn includes_from_raw() {
1323 let f = facts("#include \"commands.def\"\n// #include \"in-comment.h\"\n");
1324 // Raw-text scan: the commented include IS captured (parity with the
1325 // JS INCLUDE_RE over raw text).
1326 assert_eq!(f.includes, vec!["commands.def", "in-comment.h"]);
1327 }
1328}

Callers

nothing calls this directly

Calls 1

factsFunction · 0.85

Tested by

no test coverage detected