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

Function cli_uninstall_capture_text

tests/test_cli.c:3557–3564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3555}
3556
3557static bool cli_uninstall_capture_text(FILE *file, char *out, size_t capacity) {
3558 if (fseek(file, 0, SEEK_SET) != 0) {
3559 return false;
3560 }
3561 size_t n = fread(out, 1, capacity - 1, file);
3562 out[n] = '\0';
3563 return !ferror(file);
3564}
3565
3566TEST(cli_uninstall_auto_answers_keep_indexes_without_delete_indexes) {
3567 char *answers[] = {"--yes", "-y", "--no", "-n"};

Callers 1

test_cli.cFile · 0.85

Calls 1

freadFunction · 0.85

Tested by

no test coverage detected