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

Method getNode

cli/src/cli/paths.ts:89–92  ·  view source on GitHub ↗
(pathString: string, supportedTypes?: PathType[])

Source from the content-addressed store, hash-verified

87 }
88
89 async getNode(pathString: string, supportedTypes?: PathType[]): Promise<NodeEntity> {
90 const path = this.getPath(pathString, supportedTypes);
91 return await path.getNode();
92 }
93
94 getPath(path: string, supportedTypes?: PathType[], unsupportedTypeMessage?: string): Path {
95 const p = new Path(this.sdk, this.photosSdk, path, this.eventsManager);

Callers

nothing calls this directly

Calls 2

getPathMethod · 0.95
getNodeMethod · 0.65

Tested by

no test coverage detected