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

Function win_parent_valid

src/daemon/ipc.c:5531–5535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5529}
5530
5531static bool win_parent_valid(const wchar_t *parent) {
5532 DWORD attributes = GetFileAttributesW(parent);
5533 return attributes != INVALID_FILE_ATTRIBUTES && (attributes & FILE_ATTRIBUTE_DIRECTORY) != 0 &&
5534 (attributes & FILE_ATTRIBUTE_REPARSE_POINT) == 0;
5535}
5536
5537static wchar_t *win_default_runtime_parent(void) {
5538 wchar_t path[MAX_PATH];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected