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

Function pkgmap_is_reparse_point

src/pipeline/pass_pkgmap.c:818–829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

816 * guarantee; this check is a best-effort early skip on top of it. */
817#ifdef _WIN32
818static bool pkgmap_is_reparse_point(const char *abs_path) {
819 wchar_t *wpath = cbm_utf8_to_wide(abs_path);
820 if (!wpath) {
821 return false;
822 }
823 DWORD attrs = GetFileAttributesW(wpath);
824 free(wpath);
825 if (attrs == INVALID_FILE_ATTRIBUTES) {
826 return false;
827 }
828 return (attrs & FILE_ATTRIBUTE_REPARSE_POINT) != 0;
829}
830#endif
831
832/* Recursive filesystem walker that finds and parses package manifest

Callers 1

pkgmap_walk_dirFunction · 0.85

Calls 1

cbm_utf8_to_wideFunction · 0.85

Tested by

no test coverage detected