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

Method sectionRootNodeName

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

Source from the content-addressed store, hash-verified

246 }
247
248 private get sectionRootNodeName() {
249 // /shared-with-me/foo/bar/baz -> foo
250 return splitPathSegments(this.sectionPath)[0];
251 }
252
253 private get sectionPathWithoutRoot() {
254 // /shared-with-me/foo/bar/baz -> bar/baz

Callers

nothing calls this directly

Calls 1

splitPathSegmentsFunction · 0.85

Tested by

no test coverage detected