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

Method beginTransaction

src/generic/key_value_filesystem.ts:85–85  ·  view source on GitHub ↗

* Begins a new read-only transaction.

(type: "readonly")

Source from the content-addressed store, hash-verified

83 * Begins a new read-only transaction.
84 */
85 beginTransaction(type: "readonly"): SyncKeyValueROTransaction;
86 /**
87 * Begins a new read-write transaction.
88 */

Callers 15

renameSyncMethod · 0.65
statSyncMethod · 0.65
createFileSyncMethod · 0.65
openFileSyncMethod · 0.65
mkdirSyncMethod · 0.65
readdirSyncMethod · 0.65
_syncSyncMethod · 0.65
makeRootDirectoryMethod · 0.65
removeEntryMethod · 0.65
renameMethod · 0.65
statMethod · 0.65
createFileMethod · 0.65

Implementers 3

LocalStorageStoresrc/backend/LocalStorage.ts
InMemoryStoresrc/backend/InMemory.ts
IndexedDBStoresrc/backend/IndexedDB.ts

Calls

no outgoing calls

Tested by

no test coverage detected