* 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.
(p: string, flag: FileFlag, cb: BFSCallback<File>)
| 395 | * @param flag The flag to use when opening the file. |
| 396 | */ |
| 397 | public openFile(p: string, flag: FileFlag, cb: BFSCallback<File>): void { |
| 398 | throw new ApiError(ErrorCode.ENOTSUP); |
| 399 | } |
| 400 | /** |
| 401 | * Create the file at path p with the given mode. Then, open it with the given |
| 402 | * flag. |