Skip to content

Commit

Permalink
Merged PR 716642: Fix selection of OS-specific FileSystemExtensions
Browse files Browse the repository at this point in the history
Blocking CoW activity for Windows.
  • Loading branch information
erikmav committed May 5, 2023
1 parent 4bf6cc5 commit b984e1f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public static class FileUtilitiesExtensions
/// as the vanilla BuildXL build for Windows and skip Unix implementations completely
/// </remarks>
private static readonly IFileSystemExtensions s_fileSystemExtensions = OperatingSystemHelper.IsUnixOS
? new FileSystemExtensionsWin()
: new FileSystemExtensionsUnix();
? new FileSystemExtensionsUnix()
: new FileSystemExtensionsWin();

/// <see cref="IFileSystemExtensions.IsCopyOnWriteSupportedByEnlistmentVolume"/>
public static bool IsCopyOnWriteSupportedByEnlistmentVolume
Expand Down

0 comments on commit b984e1f

Please sign in to comment.