* Opens the file at path p with the given flag. The file must exist. * @param p The path to open. * @param flag The flag to use when opening the file. * @return A File object corresponding to the opened file.
(p: string, flag: FileFlag, mode: number)
| 479 | * @return A File object corresponding to the opened file. |
| 480 | */ |
| 481 | public openFileSync(p: string, flag: FileFlag, mode: number): File { |
| 482 | throw new ApiError(ErrorCode.ENOTSUP); |
| 483 | } |
| 484 | /** |
| 485 | * Create the file at path p with the given mode. Then, open it with the given |
| 486 | * flag. |