forked from chomp/BotGenerator
15 lines
288 B
C#
15 lines
288 B
C#
using System.IO;
|
|
|
|
namespace Common;
|
|
public static class DiskHelpers
|
|
{
|
|
public static void CreateDirIfDoesntExist(string path)
|
|
{
|
|
if (!Directory.Exists($"{path}"))
|
|
{
|
|
//create dump dir
|
|
Directory.CreateDirectory($"{path}");
|
|
}
|
|
}
|
|
}
|