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

Method appendFile

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

* **Supplemental**: Asynchronously append data to a file, creating the file if * it not yet exists.

(fname: string, data: string | Buffer, encoding: string | null, flag: FileFlag, mode: number, cb: BFSOneArgCallback)

Source from the content-addressed store, hash-verified

254 * it not yet exists.
255 */
256 appendFile(fname: string, data: string | Buffer, encoding: string | null, flag: FileFlag, mode: number, cb: BFSOneArgCallback): void;
257 /**
258 * **Supplemental**: Synchronously append data to a file, creating the file if
259 * it not yet exists.

Callers 3

appendFileMethod · 0.65
appendFileMethod · 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