(string path, bool isDir = false)
| 27 | } |
| 28 | |
| 29 | public static void DeletePath(string path, bool isDir = false) |
| 30 | { |
| 31 | try |
| 32 | { |
| 33 | if (isDir) Directory.Delete(path, true); |
| 34 | else File.Delete(path); |
| 35 | } |
| 36 | catch { } |
| 37 | } |
| 38 | |
| 39 | public static void EnsureDirectoryExists(string path) |
| 40 | { |
no outgoing calls
no test coverage detected