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

Class stat

src/discover/discover.c:579–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577 * carries whole seconds, so the value is seconds scaled to ns there. */
578#define DISCOVER_NS_PER_SEC 1000000000LL
579static int64_t discover_stat_mtime_ns(const struct stat *st) {
580#ifdef __APPLE__
581 return ((int64_t)st->st_mtimespec.tv_sec * DISCOVER_NS_PER_SEC) +
582 (int64_t)st->st_mtimespec.tv_nsec;

Callers 1

wide_statFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected