MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / dom_commit

Function dom_commit

scripts/common/universal/browser.c:387–393  ·  view source on GitHub ↗

What makes a write to an archive real. A no-op on the SD card and on * extdata, so operations can call it unconditionally when they finish. */

Source from the content-addressed store, hash-verified

385/* What makes a write to an archive real. A no-op on the SD card and on
386 * extdata, so operations can call it unconditionally when they finish. */
387int dom_commit(int dom, int h)
388{
389 if (dom == DOM_SAV) {
390 return sav_commit(h);
391 }
392 return 0;
393}
394
395/* Size in bytes, -1 if it cannot be had. Inside an archive there is no stat, so
396 * the file is read and dropped — cheap for a save, and the reason folder

Callers 4

do_transferFunction · 0.85
do_deleteFunction · 0.85
op_renameFunction · 0.85
op_newfolderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected