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

Function appendNodePath

packages/core/src/runtime/commit/container.ts:21–23  ·  view source on GitHub ↗
(nodePath: readonly string[], segment: string)

Source from the content-addressed store, hash-verified

19import { commitChildrenForVNode, isVNode } from "./validation.js";
20
21export function appendNodePath(nodePath: readonly string[], segment: string): string[] {
22 return [...nodePath, segment];
23}
24
25export function formatNodePath(nodePath: readonly string[]): string {
26 return nodePath.join("/");

Callers 1

commitContainerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected