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

Function application_truncate_file

src/daemon/application.c:946–949  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

944}
945
946static bool application_truncate_file(const char *path) {
947 FILE *file = cbm_fopen(path, "wb");
948 return file && fclose(file) == 0;
949}
950
951static bool application_job_cancel_requested(cbm_daemon_application_job_t *job);
952static size_t application_worker_memory_slice_locked(cbm_daemon_application_t *application,

Callers 1

application_job_recoverFunction · 0.85

Calls 1

cbm_fopenFunction · 0.85

Tested by

no test coverage detected