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

Function activation_entry_snapshot

src/cli/activation_transaction.c:1365–1376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1363#endif
1364
1365static bool activation_entry_snapshot(const cbm_activation_transaction_t *transaction,
1366 const char *path, const char *name, bool *exists_out,
1367 activation_file_identity_t *identity_out) {
1368#ifdef _WIN32
1369 return activation_directory_still_valid(transaction) &&
1370 activation_external_snapshot_with_owner(path, true, exists_out, identity_out);
1371#else
1372 (void)path;
1373 return activation_posix_entry_snapshot_with_links(transaction, name, (nlink_t)1, exists_out,
1374 identity_out);
1375#endif
1376}
1377
1378static bool activation_path_matches(const cbm_activation_transaction_t *transaction,
1379 const char *path, const char *name,

Tested by

no test coverage detected