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

Function diag_full_path

src/foundation/diagnostics.c:335–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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