Changeset 2118
- Timestamp:
- 5/15/2010 9:45:01 AM (3 years ago)
- Location:
- trunk/eraser
- Files:
-
- 5 edited
-
Eraser.DefaultPlugins/ErasureTargets/SecureMoveErasureTarget.cs (modified) (1 diff)
-
Eraser.DefaultPlugins/ErasureTargets/SecureMoveErasureTargetConfigurer.cs (modified) (1 diff)
-
Eraser.Manager/FileSystem.cs (modified) (1 diff)
-
Eraser/Program.cs (modified) (1 diff)
-
Eraser/SchedulerPanel.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/SecureMoveErasureTarget.cs
r2114 r2118 118 118 { 119 119 //If the path doesn't exist, exit. 120 if (! File.Exists(Path) && !Directory.Exists(Path))120 if (!(File.Exists(Path) || Directory.Exists(Path))) 121 121 return; 122 122 -
trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/SecureMoveErasureTargetConfigurer.cs
r2086 r2118 55 55 toTxt.Text = secureMove.Destination; 56 56 57 moveFolderRadio.Checked = File.Exists(secureMove.Path) && 57 moveFolderRadio.Checked = 58 File.Exists(secureMove.Path) || Directory.Exists(secureMove.Path) && 58 59 (File.GetAttributes(secureMove.Path) & FileAttributes.Directory) != 0; 59 60 } -
trunk/eraser/Eraser.Manager/FileSystem.cs
r2093 r2118 144 144 int index = prng.Next(entries.Count - 1); 145 145 shadowFile = entries[index]; 146 if (File.Exists(shadowFile) )146 if (File.Exists(shadowFile) || Directory.Exists(shadowFile)) 147 147 { 148 148 if ((File.GetAttributes(shadowFile) & FileAttributes.Directory) != 0) -
trunk/eraser/Eraser/Program.cs
r2093 r2118 490 490 { 491 491 //If the path doesn't exist, skip the file 492 if (! File.Exists(path))492 if (!(File.Exists(path) || Directory.Exists(path))) 493 493 continue; 494 494 -
trunk/eraser/Eraser/SchedulerPanel.cs
r2117 r2118 538 538 { 539 539 //If the path doesn't exist, skip the file 540 if (! File.Exists(file))540 if (!(File.Exists(file) && Directory.Exists(file))) 541 541 continue; 542 542
Note: See TracChangeset
for help on using the changeset viewer.
