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

Function activation_entry_snapshot

src/cli/activation_transaction.c:1223–1234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1221#endif
1222
1223static bool activation_entry_snapshot(const cbm_activation_transaction_t *transaction,
1224 const char *path, const char *name, bool *exists_out,
1225 activation_file_identity_t *identity_out) {
1226#ifdef _WIN32
1227 return activation_directory_still_valid(transaction) &&
1228 activation_external_snapshot_with_owner(path, true, exists_out, identity_out);
1229#else
1230 (void)path;
1231 return activation_posix_entry_snapshot_with_links(transaction, name, (nlink_t)1, exists_out,
1232 identity_out);
1233#endif
1234}
1235
1236static bool activation_path_matches(const cbm_activation_transaction_t *transaction,
1237 const char *path, const char *name,

Tested by

no test coverage detected