C# Class VictorBush.Ego.NefsLib.Utility.FileSystemExtensions

Extensions for IFileSystem.
Show file Open project: victorbush/ego.nefsedit

Public Methods

Method Description
ResetOrCreateDirectory ( IFileSystem fs, string directoryPath ) : void

Deletes the specified directory if it exists, then creates it.

Method Details

ResetOrCreateDirectory() public static method

Deletes the specified directory if it exists, then creates it.
public static ResetOrCreateDirectory ( IFileSystem fs, string directoryPath ) : void
fs IFileSystem The file system.
directoryPath string The directory path.
return void