(path: string)
| 261 | } |
| 262 | |
| 263 | function missingPath(path: string): Error & { code: string; path: string } { |
| 264 | const error = new Error(`ENOENT: no such file or directory, stat '${path}'`) as Error & { |
| 265 | code: string; |
| 266 | path: string; |
| 267 | }; |
| 268 | error.code = "ENOENT"; |
| 269 | error.path = path; |
| 270 | return error; |
| 271 | } |
| 272 | |
| 273 | function mapStat(s: WorkspaceStatResult): FsStat { |
| 274 | return { |