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

Function origin

__tests__/ui-screens-model.test.ts:84–86  ·  view source on GitHub ↗
(name: string, sharedBy?: number)

Source from the content-addressed store, hash-verified

82}
83
84function origin(name: string, sharedBy?: number): WireScreenOrigin {
85 return { id: `function:${name}`, node: ref(name), outgoing: 1, ...(sharedBy ? { sharedBy } : {}) };
86}
87
88let seq = 0;
89/** `from`/`to` are screen paths, or a `function:` id for an origin. */

Callers 1

Calls 1

refFunction · 0.70

Tested by

no test coverage detected