From c1418ae4e2d6d1287dc0ab5478b413b40b6c4535 Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Fri, 27 Mar 2020 14:47:41 -0400 Subject: [PATCH] feat: Adding Move method to IcdFile --- ICD.Common.Utils/IO/IcdFile.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ICD.Common.Utils/IO/IcdFile.cs b/ICD.Common.Utils/IO/IcdFile.cs index 15753eb..0f335d8 100644 --- a/ICD.Common.Utils/IO/IcdFile.cs +++ b/ICD.Common.Utils/IO/IcdFile.cs @@ -106,5 +106,10 @@ namespace ICD.Common.Utils.IO using (FileStream stream = File.OpenWrite(path)) stream.Write(bytes, 0, bytes.Length); } + + public static void Move([NotNull] string sourceFileName, [NotNull] string destFileName) + { + File.Move(sourceFileName, destFileName); + } } }