OpenBve.ManagedContent.RemoveDirectory C# (CSharp) Method

RemoveDirectory() private static method

Removes the specified directory if it exists.
private static RemoveDirectory ( string path ) : void
path string The path to the directory.
return void
        private static void RemoveDirectory(string path)
        {
            if (Directory.Exists(path)) {
                Directory.Delete(path, true);
            }
        }