(parentNode: NodeEntity, name: string)
| 386 | } |
| 387 | |
| 388 | const rootNode = await this.publicLinkSdk.getRootNode(); |
| 389 | return this.getNodeByPath(rootNode, this.fullPath); |
| 390 | } |
| 391 | |
| 392 | async getChild(name: string) { |
| 393 | const node = await this.getNode(); |
| 394 | return this.getNodeByName(node, name); |
| 395 | } |
| 396 | |
| 397 | private async getNodeByPath(parentNode: NodeEntity, pathString: string) { |
| 398 | let node = parentNode; |
no test coverage detected