* Get node by path
(path: string)
| 111 | * Get node by path |
| 112 | */ |
| 113 | getByPath(path: string): FileNode | undefined { |
| 114 | const normalizedPath = normalizePath(path); |
| 115 | const id = this.pathIndex.get(normalizedPath); |
| 116 | return id ? this.nodes.get(id) : undefined; |
| 117 | } |
| 118 | |
| 119 | /** |
| 120 | * Get children of a node |
no test coverage detected