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. */
| 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. */ |
| 387 | int 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 |
no outgoing calls
no test coverage detected