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

Method getSharedWithMeRootFolder

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

Source from the content-addressed store, hash-verified

256 }
257
258 private async getSharedWithMeRootFolder() {
259 for await (const maybeNode of this.sdk.iterateSharedNodesWithMe()) {
260 if (getName(maybeNode) === this.sectionRootNodeName) {
261 return maybeNode;
262 }
263 }
264 throw new ValidationError('Root node not found');
265 }
266
267 private async getTrashedNode(name: string) {
268 for await (const maybeNode of this.sdk.iterateTrashedNodes()) {

Callers 1

getNodeInternalMethod · 0.95

Calls 2

getNameFunction · 0.90

Tested by

no test coverage detected