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

Function activation_entry_snapshot

src/cli/activation_transaction.c:1166–1177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1164#endif
1165
1166static bool activation_entry_snapshot(const cbm_activation_transaction_t *transaction,
1167 const char *path, const char *name, bool *exists_out,
1168 activation_file_identity_t *identity_out) {
1169#ifdef _WIN32
1170 return activation_directory_still_valid(transaction) &&
1171 activation_external_snapshot_with_owner(path, true, exists_out, identity_out);
1172#else
1173 (void)path;
1174 return activation_posix_entry_snapshot_with_links(transaction, name, (nlink_t)1, exists_out,
1175 identity_out);
1176#endif
1177}
1178
1179static bool activation_path_matches(const cbm_activation_transaction_t *transaction,
1180 const char *path, const char *name,

Tested by

no test coverage detected