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

Method open

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

* **Core**: Asynchronous file open. * @see http://www.manpagez.com/man/2/open/ * @param flags Handles the complexity of the various file * modes. See its API for more details. * @param mode Mode to use to open the file. Can be ignored if the * filesystem doesn't support permission

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

Source from the content-addressed store, hash-verified

131 * filesystem doesn't support permissions.
132 */
133 open(p: string, flag: FileFlag, mode: number, cb: BFSCallback<File>): void;
134 /**
135 * **Core**: Synchronous file open.
136 * @see http://www.manpagez.com/man/2/open/

Callers 15

DBFSFactoryFunction · 0.65
nop.jsFile · 0.65
bad_lookup.jsFile · 0.65
___syscall5Function · 0.65
readdir_empty.jsFile · 0.65
___syscall5Function · 0.65
readdir.jsFile · 0.65
___syscall5Function · 0.65
files.jsFile · 0.65
___syscall5Function · 0.65
___syscall221Function · 0.65

Implementers 10

LockedFSsrc/generic/locked_fs.ts
MountableFileSystemsrc/backend/MountableFileSystem.ts
WorkerFSsrc/backend/WorkerFS.ts
IsoFSsrc/backend/IsoFS.ts
UnlockedOverlayFSsrc/backend/OverlayFS.ts
FolderAdaptersrc/backend/FolderAdapter.ts
ZipFSsrc/backend/ZipFS.ts
XmlHttpRequestsrc/backend/XmlHttpRequest.ts
AsyncMirrorsrc/backend/AsyncMirror.ts
DropboxFileSystemsrc/backend/Dropbox.ts

Calls

no outgoing calls

Tested by

no test coverage detected