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

Method usePhotoSdk

cli/src/cli/paths.ts:186–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

184 }
185
186 private usePhotoSdk(): boolean {
187 const photoPaths = [
188 PathType.Albums,
189 PathType.Photos,
190 PathType.PhotosSharedByMe,
191 PathType.PhotosSharedWithMe,
192 PathType.PhotosTrash,
193 ];
194 return photoPaths.includes(this.type);
195 }
196
197 async getNode(): Promise<NodeEntity> {
198 const node = await this.getNodeInternal();

Callers 2

sdkMethod · 0.95
getNodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected