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

Function row_mtime

tests/test_artifact.c:752–759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

750}
751
752static int64_t row_mtime(cbm_file_hash_t *rows, int n, const char *rel) {
753 for (int i = 0; i < n; i++) {
754 if (strcmp(rows[i].rel_path, rel) == 0) {
755 return rows[i].mtime_ns;
756 }
757 }
758 return -1;
759}
760
761/* Overwrite one file_hashes row's mtime with a caller-chosen sentinel.
762 * Tests assert against this sentinel rather than against "a different

Callers 1

test_artifact.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected