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

Method getNodes

cli/src/cli/paths.ts:57–64  ·  view source on GitHub ↗
(pathStrings: string[], supportedTypes?: PathType[])

Source from the content-addressed store, hash-verified

55 }
56
57 async getNodes(pathStrings: string[], supportedTypes?: PathType[]): Promise<NodeEntity[]> {
58 const paths = this.getPaths(pathStrings, supportedTypes);
59 const nodes = [];
60 for (const path of paths) {
61 nodes.push(await path.getNode());
62 }
63 return nodes;
64 }
65
66 getPaths(pathStrings: string[], supportedTypes?: PathType[], unsupportedTypeMessage?: string): Path[] {
67 let pathType: PathType | undefined;

Callers 5

actionMethod · 0.80
actionMethod · 0.80
actionMethod · 0.80
actionMethod · 0.80
actionMethod · 0.80

Calls 2

getPathsMethod · 0.95
getNodeMethod · 0.65

Tested by

no test coverage detected