Changeset 1717


Ignore:
Timestamp:
1/28/2010 8:19:57 AM (5 years ago)
Author:
lowjoel
Message:

If the directory we are deleting does not exist, we should just return -- there's nothing to be deleted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6/Eraser.DefaultPlugins/FileSystems/Windows.cs

    r1715 r1717  
    128128                    "not empty.")); 
    129129 
     130            //If the directory does not already exist, we should just return -- there's 
     131            //nothing to be done. 
     132            if (!info.Exists) 
     133                return; 
     134 
    130135            //TODO: check for reparse points 
    131136            foreach (DirectoryInfo dir in info.GetDirectories()) 
Note: See TracChangeset for help on using the changeset viewer.