MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / text_write_atomic

Function text_write_atomic

src/cli/config_text_edit.c:753–757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

751}
752
753static int text_write_atomic(const char *path, const char *new_data, size_t new_len,
754 const char *old_data, size_t old_len,
755 const text_file_snapshot_t *snapshot) {
756 return text_write_atomic_mode(path, new_data, new_len, old_data, old_len, snapshot, 0, 0U);
757}
758
759static int text_delete_file(const char *path, const char *old_data, size_t old_len,
760 const text_file_snapshot_t *snapshot) {

Calls 1

text_write_atomic_modeFunction · 0.85

Tested by

no test coverage detected