| 531 | } |
| 532 | |
| 533 | static void ws_manifest_write_line(const char *base, const char *entry) { |
| 534 | char body[WS_T_PATH]; |
| 535 | int n = snprintf(body, sizeof(body), "%s\n", entry); |
| 536 | if (n > 0 && (size_t)n < sizeof(body)) { |
| 537 | ws_manifest_write(base, body); |
| 538 | } |
| 539 | } |
| 540 | |
| 541 | /* Put the manifest on record as approved by writing the store line directly, |
| 542 | * in the form cbm_workspace_manifest_approve writes ("<digest> <project>"). |
no test coverage detected