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

Function cli_binary_fingerprint_validator

src/cli/cli.c:1285–1290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1283} cli_binary_validator_t;
1284
1285static bool cli_binary_fingerprint_validator(const char *target_path, void *opaque) {
1286 cli_binary_validator_t *validator = opaque;
1287 char actual[CBM_DAEMON_BUILD_FINGERPRINT_SIZE];
1288 return validator && target_path && cbm_daemon_build_fingerprint_file(target_path, actual) &&
1289 strcmp(actual, validator->fingerprint) == 0;
1290}
1291
1292static int cli_activation_transaction_abort(cbm_activation_transaction_t **transaction_io) {
1293 if (!transaction_io || !*transaction_io) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected