1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 07:30:40 +01:00

Remove unused code

This commit is contained in:
Rich Dunne 2021-05-01 13:15:52 -06:00
parent 6b8d01dc01
commit bcaecb8788

View file

@ -130,25 +130,5 @@ namespace SceneManager.Utils
{
ModifyItemInXML<List<T>>(path, t => t.Add(objectToAdd));
}
///// <summary>
///// Creates folder in case it doesn't exist and checks file existance.
///// </summary>
///// <param name="path"></param>
///// <returns>false when a file does not exist.</returns>
//private static bool ValidatePath(string path)
//{
// //TODO: implement
// // - check extension
// // - bool param: createDir
// string dir = Path.GetDirectoryName(path);
// if (!Directory.Exists(dir))
// {
// Directory.CreateDirectory(dir);
// return false;
// }
// return File.Exists(path);
//}
}
}