public static void DeleteFileIfEmpty(this MiruPath miruPath) { if (miruPath.Exists2() && miruPath.FileInfo().Length == 0) { miruPath.DeleteIfExists(); } }
public static bool DontExistOrEmpty(this MiruPath miruPath) => miruPath.Exists2() == false || miruPath.FileInfo().Length == 0;