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

Method guards

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

* The same conditions, outermost first, unjoined — each with the branching * construct it belongs to, so two sites can be told to be the two arms of * ONE `if` rather than two conditions that happen to read as opposites. * What SiteReader.when joins; empty when unconditional or unre

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

Source from the content-addressed store, hash-verified

111 * What {@link SiteReader.when} joins; empty when unconditional or unreadable.
112 */
113 guards(caller: { filePath: string; language: Language }, site: { line?: number; column?: number }): Promise<BranchGuard[]>;
114 /** The loops the site is written inside, outermost first — a run of calls that happens once per item. */
115 loops(caller: { filePath: string; language: Language }, site: { line?: number; column?: number }): Promise<SiteLoop[]>;
116 /** What the site passes, abbreviated (`'userEmail', values.email`); null when unreadable. '' for an empty list. */

Callers 1

guardsAtFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected