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

Function hasSection

__tests__/explore-same-basename-pin.test.ts:197–198  ·  view source on GitHub ↗
(response: string, file: string)

Source from the content-addressed store, hash-verified

195
196/** The response renders a source section for `file`. */
197const hasSection = (response: string, file: string): boolean =>
198 response.includes('**`' + file + '`');
199
200/** Every `<n>\t<text>` line number the response sent for `file`. */
201function renderedLines(response: string, file: string): Set<number> {

Calls

no outgoing calls

Tested by

no test coverage detected