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

Function diag_full_path

src/foundation/diagnostics.c:336–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334#ifdef _WIN32
335
336static bool diag_full_path(const char *base_name, char *path, size_t path_size) {
337 int written = snprintf(path, path_size, "%s/%s", g_diag_directory_path, base_name);
338 return written > 0 && (size_t)written < path_size;
339}
340
341static bool diag_win_handle_valid(HANDLE handle) {
342 BY_HANDLE_FILE_INFORMATION information;

Callers 3

diag_write_fileFunction · 0.85
diag_native_renameFunction · 0.85
diag_native_unlinkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected