MCPcopy Create free account
hub / github.com/codeaashu/claude-code / addEdges

Function addEdges

src/ink/layout/geometry.ts:41–48  ·  view source on GitHub ↗
(a: Edges, b: Edges)

Source from the content-addressed store, hash-verified

39
40/** Add two edge values */
41export function addEdges(a: Edges, b: Edges): Edges {
42 return {
43 top: a.top + b.top,
44 right: a.right + b.right,
45 bottom: a.bottom + b.bottom,
46 left: a.left + b.left,
47 }
48}
49
50/** Zero edges constant */
51export const ZERO_EDGES: Edges = { top: 0, right: 0, bottom: 0, left: 0 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected