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

Function fd_regular

src/daemon/service.c:347–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347static bool fd_regular(int fd, struct stat *status_out) {
348 struct stat status;
349 if (fstat(fd, &status) != 0 || !S_ISREG(status.st_mode)) {
350 return false;
351 }
352 if (status_out) {
353 *status_out = status;
354 }
355 return true;
356}
357
358bool cbm_daemon_build_fingerprint_native_file(uintptr_t native_file,
359 char out[CBM_DAEMON_BUILD_FINGERPRINT_SIZE]) {

Calls

no outgoing calls

Tested by

no test coverage detected