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

Function pathBasename

cli/src/cli/paths.ts:403–406  ·  view source on GitHub ↗
(fullPath: string)

Source from the content-addressed store, hash-verified

401 if (part === '') {
402 continue;
403 }
404 node = await this.getNodeByName(node, part);
405 }
406 return node;
407 }
408
409 private async getNodeByName(parentNode: NodeEntity, name: string) {

Callers 2

paths.test.tsFile · 0.90
nameMethod · 0.85

Calls 1

splitPathSegmentsFunction · 0.85

Tested by

no test coverage detected