| FileSystemEmptyDir Method |
Makes sure, the given path references an empty directory.
If the directory does not exist, it is created, including missing parent folders.
If the directory exists, all content is recursively deleted.
Namespace:
Mastersign.Bench
Assembly:
BenchLib (in BenchLib.dll) Version: 0.22.0.0 (0.22.0.0)
Syntax public static string EmptyDir(
string path
)
Public Shared Function EmptyDir (
path As String
) As String
Parameters
- path
- Type: SystemString
An path to the directory.
Return Value
Type:
StringA path to the directory.
See Also