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

Function fileSectionHeader

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

Source from the content-addressed store, hash-verified

842// file path, so the final string-replace can't collide.
843const SUMMARY_SENTINEL = '[[codegraph-explore-summary]]';
844function fileSectionHeader(filePath: string, suffix: string): string {
845 return suffix
846 ? `${FILE_SECTION_PREFIX}${filePath}\`** — ${suffix}`
847 : `${FILE_SECTION_PREFIX}${filePath}\`**`;
848}
849
850/** Header of `codegraph_explore`'s trailing pointer list. */
851const 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