mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-15 20:54:58 +00:00
feat: Adding Move method to IcdFile
This commit is contained in:
@@ -106,5 +106,10 @@ namespace ICD.Common.Utils.IO
|
|||||||
using (FileStream stream = File.OpenWrite(path))
|
using (FileStream stream = File.OpenWrite(path))
|
||||||
stream.Write(bytes, 0, bytes.Length);
|
stream.Write(bytes, 0, bytes.Length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void Move([NotNull] string sourceFileName, [NotNull] string destFileName)
|
||||||
|
{
|
||||||
|
File.Move(sourceFileName, destFileName);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user