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

Method sectionPathWithoutRoot

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

Source from the content-addressed store, hash-verified

251 }
252
253 private get sectionPathWithoutRoot() {
254 // /shared-with-me/foo/bar/baz -> bar/baz
255 return joinPathSegments(splitPathSegments(this.fullPath).slice(3));
256 }
257
258 private async getSharedWithMeRootFolder() {
259 for await (const maybeNode of this.sdk.iterateSharedNodesWithMe()) {

Callers

nothing calls this directly

Calls 2

joinPathSegmentsFunction · 0.85
splitPathSegmentsFunction · 0.85

Tested by

no test coverage detected