Ignore:
Timestamp:
11/14/2008 6:57:38 AM (4 years ago)
Author:
lowjoel
Message:

Fixed #18

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/Manager/Task.cs

    r505 r559  
    368368                    Regex excludePattern = new Regex(regex, RegexOptions.IgnoreCase); 
    369369                    foreach (FileInfo file in files) 
    370                         if (excludePattern.Matches(file.FullName).Count == 0) 
     370                        if ((file.Attributes & FileAttributes.ReparsePoint) == 0 && 
     371                            excludePattern.Matches(file.FullName).Count == 0) 
    371372                        { 
    372373                            totalSize += file.Length; 
     
    378379                    foreach (FileInfo file in files) 
    379380                    { 
     381                        if ((file.Attributes & FileAttributes.ReparsePoint) != 0) 
     382                            continue; 
     383 
    380384                        totalSize += file.Length; 
    381385                        GetPathADSes(ref result, ref totalSize, file.FullName); 
Note: See TracChangeset for help on using the changeset viewer.