MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getContextTree

Method getContextTree

npm_modules/cli/src/utils/daemonClient.ts:353–356  ·  view source on GitHub ↗
(clientId: string, contextId: string)

Source from the content-addressed store, hash-verified

351 }
352
353 async getContextTree(clientId: string, contextId: string): Promise<unknown> {
354 const resp = await this.forwardAndWait(clientId, DaemonMsgType.GET_CONTEXT_TREE_REQUEST, { id: contextId });
355 return resp['body'];
356 }
357
358 async takeSnapshot(clientId: string, elementId: string, contextId: string): Promise<string> {
359 const resp = await this.forwardAndWait(clientId, DaemonMsgType.TAKE_ELEMENT_SNAPSHOT_REQUEST, {

Callers 2

inspectSnapshotFunction · 0.80
inspectTreeFunction · 0.80

Calls 1

forwardAndWaitMethod · 0.95

Tested by

no test coverage detected