MCPcopy Create free account
hub / github.com/ProtonDriveApps/sdk / getTreeNodeChildByNodeName

Function getTreeNodeChildByNodeName

client/js/src/diagnostic/nodeUtils.ts:58–67  ·  view source on GitHub ↗
(
    expectedSubtree: ExpectedTreeNode | undefined,
    nodeName: Result<string, Error | InvalidNameError>,
)

Source from the content-addressed store, hash-verified

56 return undefined;
57 }
58 const nodeNameValue = nodeName.value;
59 return expectedSubtree?.children?.find((expectedNode) => expectedNode.name === nodeNameValue);
60}

Callers 2

loadTimelineMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected