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

Function activation_string_span

src/cli/activation_transaction.c:184–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184static char *activation_string_span(const char *value, size_t length) {
185 char *copy = malloc(length + 1U);
186 if (copy) {
187 memcpy(copy, value, length);
188 copy[length] = '\0';
189 }
190 return copy;
191}
192
193static bool activation_target_parts(const char *target_path, char **directory_out,
194 char **name_out) {

Callers 1

activation_target_partsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected