MCPcopy
hub / github.com/jvilk/BrowserFS / openFileSync

Method openFileSync

src/core/file_system.ts:481–483  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

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.

Callers 1

openSyncMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected