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

Function edit_path_copy

src/cli/config_edit_path.c:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24enum { EDIT_PATH_MAX_ROOTS = 4 };
25
26static int edit_path_copy(const char *source, char *out, size_t out_size) {
27 int written = snprintf(out, out_size, "%s", source);
28 return written >= 0 && (size_t)written < out_size ? 0 : -1;
29}
30
31static void edit_path_target_reset(cbm_config_edit_target_t *target) {
32 target->status = CBM_CONFIG_EDIT_PATH_DIRECT;

Callers 4

edit_path_splitFunction · 0.85
edit_path_classifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected