MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / formatWidgetPath

Function formatWidgetPath

packages/core/src/runtime/commit/validation.ts:26–30  ·  view source on GitHub ↗
(depth: number, tailPath: readonly string[])

Source from the content-addressed store, hash-verified

24}
25
26export function formatWidgetPath(depth: number, tailPath: readonly string[]): string {
27 if (tailPath.length === 0) return "(root)";
28 const path = tailPath.join(" -> ");
29 return depth > tailPath.length ? `... -> ${path}` : path;
30}
31
32function isInteractiveVNode(v: VNode): boolean {
33 const proto = getWidgetProtocol(v.kind);

Callers 1

commitNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected