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

Function diag_test_copy

src/foundation/diagnostics.c:721–727  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

719#ifdef CBM_DIAGNOSTICS_ENABLE_TEST_API
720
721static bool diag_test_copy(char *destination, size_t destination_size, const char *source) {
722 if (!destination || destination_size == 0) {
723 return false;
724 }
725 int written = snprintf(destination, destination_size, "%s", source);
726 return written >= 0 && (size_t)written < destination_size;
727}
728
729bool cbm_diag_test_copy_paths(char *directory, size_t directory_size, char *snapshot,
730 size_t snapshot_size, char *trajectory, size_t trajectory_size) {

Callers 1

cbm_diag_test_copy_pathsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected