Changeset 2322
- Timestamp:
- 10/29/2011 10:03:40 AM (19 months ago)
- Location:
- trunk/eraser
- Files:
-
- 2 edited
- 1 moved
-
Eraser.DefaultPlugins/ErasureTargets/SecureMoveErasureTarget.cs (modified) (2 diffs)
-
Eraser.Util/Eraser.Util.csproj (modified) (1 diff)
-
Eraser.Util/ExtensionMethods/PathUtil.cs (moved) (moved from trunk/eraser/Eraser.Util/ExtensionMethods/Path.cs) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/SecureMoveErasureTarget.cs
r2283 r2322 150 150 { 151 151 //Check the the destination is not a subfolder of the source. 152 if ( Eraser.Util.ExtensionMethods.Path.IsRootedAt(info, Destination))152 if (PathUtil.IsRootedAt(info, Destination)) 153 153 { 154 154 Logger.Log(S._("The destination directory cannot be within the source directory."), … … 264 264 string baseDir = System.IO.Path.Combine(Destination, source.Name); 265 265 return System.IO.Path.Combine(baseDir, 266 Eraser.Util.ExtensionMethods.Path.MakeRelativeTo(source, sourcePath));266 PathUtil.MakeRelativeTo(source, sourcePath)); 267 267 } 268 268 -
trunk/eraser/Eraser.Util/Eraser.Util.csproj
r2320 r2322 116 116 </Compile> 117 117 <Compile Include="ExtensionMethods\Assembly.cs" /> 118 <Compile Include="ExtensionMethods\Path .cs" />118 <Compile Include="ExtensionMethods\PathUtil.cs" /> 119 119 <Compile Include="FileSize.cs" /> 120 120 <Compile Include="Logger.cs" /> -
trunk/eraser/Eraser.Util/ExtensionMethods/PathUtil.cs
r2319 r2322 31 31 /// Additional Path utility methods. 32 32 /// </summary> 33 public class Path 33 public class PathUtil 34 34 { 35 35 /// <summary>
Note: See TracChangeset
for help on using the changeset viewer.
