Skip to content

Commit d3a2dbf

Browse files
committed
Update InlineApplier.cs
1 parent 16ca68c commit d3a2dbf

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/DiffEngine/Inline/InlineApplier.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -333,12 +333,7 @@ static void WriteThroughTemporary(string fullPath, byte[] output)
333333

334334
static string MutexName(string normalizedPath)
335335
{
336-
#if NET6_0_OR_GREATER
337336
var hash = SHA256.HashData(Encoding.UTF8.GetBytes(normalizedPath));
338-
#else
339-
using var sha = SHA256.Create();
340-
var hash = sha.ComputeHash(Encoding.UTF8.GetBytes(normalizedPath));
341-
#endif
342337
var builder = new StringBuilder("DiffEngineInline_");
343338
foreach (var b in hash)
344339
{

0 commit comments

Comments
 (0)