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

Method getAlbumNodeByPath

cli/src/cli/paths.ts:335–340  ·  view source on GitHub ↗
(pathString: string)

Source from the content-addressed store, hash-verified

333 throw new ValidationError(`Photo not found: ${name}`);
334 }
335
336 private async getPhotoNodeByPath(pathString: string): Promise<NodeEntity> {
337 if (isNodeUid(pathString)) {
338 return this.photosSdk.getNode(pathString);
339 }
340 return this.getPhotoByName(pathString);
341 }
342
343 private async getPhotoByName(name: string): Promise<NodeEntity> {

Callers 1

getNodeInternalMethod · 0.95

Calls 3

getAlbumByNameMethod · 0.95
isNodeUidFunction · 0.85
getNodeMethod · 0.65

Tested by

no test coverage detected