/// <summary> /// Returns an formatted string of the given file's size. /// </summary> /// <param name="file">The file<see cref="string"/></param> /// <returns>The <see cref="string"/></returns> public static string GetFileSizeFormatted(string file) => FormatString.FormatFileSize(GetFileSize(file));
/// <summary> /// The GetDirectorySizeFormatted /// </summary> /// <param name="directory">The directory<see cref="string"/></param> /// <returns>The <see cref="string"/></returns> public static string GetDirectorySizeFormatted(string directory) => FormatString.FormatFileSize(GetDirectorySize(directory));