storage/pathutils: temp test

This commit is contained in:
Peter Bieringer
2026-04-14 18:06:12 +02:00
parent da58a4da13
commit c7625650c1

View File

@@ -292,7 +292,7 @@ def path_to_filesystem(root: str, sane_path: str, path_is_collision_free: bool =
# Check for conflicting files (e.g. case-insensitive file systems
# or short names on Windows file systems)
if not path_is_collision_free:
if sys.platform == "win32":
if sys.platform == "win32" and False: # temporary for testing
# logger.trace("path_to_filesystem check (win32): %r", part)
# if (os.path.lexists(safe_path) and not os.path.realpath(safe_path).endswith(part)) and not os.path.islink(safe_path):
if (os.path.lexists(safe_path) and not os.path.realpath(safe_path).endswith(part)):