* Create the file at path p with the given mode. Then, open it with the given * flag.
(p: string, flag: FileFlag, mode: number)
| 486 | * flag. |
| 487 | */ |
| 488 | public createFileSync(p: string, flag: FileFlag, mode: number): File { |
| 489 | throw new ApiError(ErrorCode.ENOTSUP); |
| 490 | } |
| 491 | public openSync(p: string, flag: FileFlag, mode: number): File { |
| 492 | // Check if the path exists, and is a file. |
| 493 | let stats: Stats; |