From bd2b6b5d5f823f6e1490da1574ee43e339535830 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Mon, 18 Dec 2023 14:48:32 -0500 Subject: [PATCH] Nullify `ISynchronousIOManager` --- src/Tgstation.Server.Host/IO/ISynchronousIOManager.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Tgstation.Server.Host/IO/ISynchronousIOManager.cs b/src/Tgstation.Server.Host/IO/ISynchronousIOManager.cs index df87b894c6..16e0ea370e 100644 --- a/src/Tgstation.Server.Host/IO/ISynchronousIOManager.cs +++ b/src/Tgstation.Server.Host/IO/ISynchronousIOManager.cs @@ -2,8 +2,6 @@ using System.IO; using System.Threading; -#nullable disable - namespace Tgstation.Server.Host.IO { /// @@ -57,7 +55,7 @@ namespace Tgstation.Server.Host.IO /// The function only succeeds if this parameter matches the SHA-1 hash of the contents of the current file. Contains the SHA1 of the file on disk once the function returns. /// The for the operation. /// on success, if the operation failed due to not matching the file's contents. - bool WriteFileChecked(string path, Stream data, ref string sha1InOut, CancellationToken cancellationToken); + bool WriteFileChecked(string path, Stream data, ref string? sha1InOut, CancellationToken cancellationToken); /// /// Checks if a given is a directory.