mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
feat: Adding Move method to IcdFile
This commit is contained in:
parent
5978d492cf
commit
c1418ae4e2
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue