MCPcopy Create free account
hub / github.com/Clarionos/clarion / commitTransaction

Function commitTransaction

tests/web/index.js:77–79  ·  view source on GitHub ↗
(trx)

Source from the content-addressed store, hash-verified

75
76 // TODO: give this an async interface?
77 commitTransaction(trx) {
78 objects[trx].trx.commit();
79 },
80
81 setKV(trx, key, keyLen, value, valueLen, p, f) {
82 console.log('setKV', { k: uint8Array(key, keyLen), v: uint8Array(value, valueLen) });

Callers 1

commitMethod · 0.85

Calls 1

commitMethod · 0.45

Tested by

no test coverage detected