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

Function fileSectionHeader

src/mcp/tools.ts:980–984  ·  view source on GitHub ↗
(filePath: string, suffix: string)

Source from the content-addressed store, hash-verified

978// file path, so the final string-replace can't collide.
979const SUMMARY_SENTINEL = '[[codegraph-explore-summary]]';
980function fileSectionHeader(filePath: string, suffix: string): string {
981 return suffix
982 ? `${FILE_SECTION_PREFIX}${filePath}\`** — ${suffix}`
983 : `${FILE_SECTION_PREFIX}${filePath}\`**`;
984}
985
986/** Header of `codegraph_explore`'s trailing pointer list. */
987const POINTER_HEADER = '**Not shown above — explore these names for their source**';

Callers 3

sectionOverheadMethod · 0.85
handleExploreMethod · 0.85
headerForMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected