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

Function windows_same_file_identity

src/daemon/service.c:668–673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

666#include "foundation/win_utf8.h"
667
668static bool windows_same_file_identity(const BY_HANDLE_FILE_INFORMATION *first,
669 const BY_HANDLE_FILE_INFORMATION *second) {
670 return first && second && first->dwVolumeSerialNumber == second->dwVolumeSerialNumber &&
671 first->nFileIndexHigh == second->nFileIndexHigh &&
672 first->nFileIndexLow == second->nFileIndexLow;
673}
674
675bool cbm_daemon_build_fingerprint_native_file(uintptr_t native_file,
676 char out[CBM_DAEMON_BUILD_FINGERPRINT_SIZE]) {

Calls

no outgoing calls

Tested by

no test coverage detected