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

Function flowPair

ui/src/lib/entry-model.ts:404–409  ·  view source on GitHub ↗
(from: string, to: string)

Source from the content-addressed store, hash-verified

402 * it — better to disable the button than to navigate into a 400.
403 */
404export function flowPair(from: string, to: string): { from: string; to: string } | null {
405 const a = from.trim();
406 const b = to.trim();
407 if (!a || !b || a.toLowerCase() === b.toLowerCase()) return null;
408 return { from: a, to: b };
409}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected