MCPcopy Index your code
hub / github.com/jvilk/BrowserFS / openFile

Method openFile

src/core/file_system.ts:397–399  ·  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.

(p: string, flag: FileFlag, cb: BFSCallback<File>)

Source from the content-addressed store, hash-verified

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.

Callers 1

mustBeFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected