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:1118–1129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1116 * guarantee; this check is a best-effort early skip on top of it. */
1117#ifdef _WIN32
1118static bool pkgmap_is_reparse_point(const char *abs_path) {
1119 wchar_t *wpath = cbm_path_to_wide(abs_path);
1120 if (!wpath) {
1121 return false;
1122 }
1123 DWORD attrs = GetFileAttributesW(wpath);
1124 free(wpath);
1125 if (attrs == INVALID_FILE_ATTRIBUTES) {
1126 return false;
1127 }
1128 return (attrs & FILE_ATTRIBUTE_REPARSE_POINT) != 0;
1129}
1130#endif
1131
1132/* Recursive filesystem walker that finds and parses package manifest

Callers 1

pkgmap_walk_dirFunction · 0.85

Calls 1

cbm_path_to_wideFunction · 0.85

Tested by

no test coverage detected