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

Function into

__tests__/ui-steps-program.test.ts:36–39  ·  view source on GitHub ↗

A site that folds into a helper.

(fn: string, guards: BranchGuard[] = [], extra: Partial<ProgramSite> = {})

Source from the content-addressed store, hash-verified

34
35/** A site that folds into a helper. */
36function into(fn: string, guards: BranchGuard[] = [], extra: Partial<ProgramSite> = {}): ProgramSite {
37 const line = nextLine++;
38 return { into: fn, at: { line, column: 0, end: { line, column: 40 } }, guards, ...extra };
39}
40
41function program(sites: Record<string, ProgramSite[]>, replies: string[] = [], into: Record<string, string> = {}) {
42 nextLine = 1;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected