You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MockFileSystem directory behavior with front slash inconsistent with actual file system behavior on Windows #1244
Describe the bug
Both native Directory.Exists and the wrapper FileSystem.Directory.Exists methods successfully pick up the root directory using a /. However, MockFileSystem.Directory.Exists does not on Windows.
It's also worth noting that MockFileSystem.DirectoryInfo.Exists does work.
Activity
tbui17 commentedon Mar 8, 2025
Related PR: #294
github-actions commentedon Mar 13, 2025
This is addressed in release v22.0.12.