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

Method when

src/ui-server/api/when.ts:106–106  ·  view source on GitHub ↗

The conditions the site runs under, joined; '' when unconditional or unreadable.

(caller: { filePath: string; language: Language }, site: { line?: number; column?: number })

Source from the content-addressed store, hash-verified

104export interface SiteReader {
105 /** The conditions the site runs under, joined; '' when unconditional or unreadable. */
106 when(caller: { filePath: string; language: Language }, site: { line?: number; column?: number }): Promise<string>;
107 /**
108 * The same conditions, outermost first, unjoined — each with the branching
109 * construct it belongs to, so two sites can be told to be the two arms of

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected