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

Function win_parent_valid

src/daemon/ipc.c:4701–4705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4699}
4700
4701static bool win_parent_valid(const wchar_t *parent) {
4702 DWORD attributes = GetFileAttributesW(parent);
4703 return attributes != INVALID_FILE_ATTRIBUTES && (attributes & FILE_ATTRIBUTE_DIRECTORY) != 0 &&
4704 (attributes & FILE_ATTRIBUTE_REPARSE_POINT) == 0;
4705}
4706
4707static wchar_t *win_default_runtime_parent(void) {
4708 wchar_t path[MAX_PATH];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected