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

Function span

__tests__/explore-completeness-note.test.ts:35–37  ·  view source on GitHub ↗
(
  name: string, start: number, end: number, importance = 1, spine = false, kind = 'method',
)

Source from the content-addressed store, hash-verified

33} from '../src/mcp/tools';
34
35const span = (
36 name: string, start: number, end: number, importance = 1, spine = false, kind = 'method',
37): ExploreWantedSpan => ({ name, kind, start, end, importance, spine });
38
39/** The note this change replaced, for the size bound. */
40const OLD_NOTE = '> **Complete source for 8 files is included above — do NOT re-read them.** If your question also needs files/symbols listed under "Not shown above" (or any area this call didn\'t cover), make ANOTHER codegraph_explore targeting those names — it returns the same source with line numbers and is cheaper and more complete than reading. Reserve Read for a single specific line range explore can\'t surface.';

Calls

no outgoing calls

Tested by

no test coverage detected