Method
PathHelper.EnsureFileDirectoryExistance
EnsureFileDirectoryExistance(string) #
Ensures that the directory for the specified file path exists, creating it if necessary.
public static bool EnsureFileDirectoryExistance(string filePath)Parameters #
filePath string
The file path whose parent directory should exist.
Returns #
true if the directory already existed;
false if the directory was created.
Exceptions #
Thrown when filePath is null or empty.