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

Function detached

src/resolution/cpp-template-instantiations.ts:289–289  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

287
288/** A copy of a name read from a file's text. V8 keeps a whole string alive for a long enough part of it. */
289const detached = (name: string): string => `_${name}`.slice(1);
290
291/** Add the names `text` writes right before a `<`. */
292function addNamesBeforeAngle(text: string, names: Set<string>): void {

Callers 1

readMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected