public static bool CreateDir(this FsPath path) { if (!FsPath.IsEmptyPath(path)) { Directory.CreateDirectory(path.ToString()); return(true); } else { return(false); } }