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