Changeset 2072 for trunk/eraser
- Timestamp:
- 5/8/2010 4:38:16 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/SecureMoveErasureTarget.cs
r2064 r2072 31 31 using Eraser.Manager; 32 32 using Eraser.Util; 33 using System.IO; 33 34 34 35 namespace Eraser.DefaultPlugins … … 89 90 } 90 91 91 public override void Execute()92 internal override List<string> GetPaths(out long totalSize) 92 93 { 93 94 throw new NotImplementedException(); 94 95 } 95 96 96 internal override List<string> GetPaths(out long totalSize) 97 public override void Execute() 98 { 99 //If the path doesn't exist, exit. 100 if (!File.Exists(Path)) 101 return; 102 103 if ((File.GetAttributes(Path) & FileAttributes.Directory) != 0) 104 { 105 DirectoryInfo info = new DirectoryInfo(Path); 106 MoveDirectory(info); 107 } 108 else 109 { 110 FileInfo info = new FileInfo(Path); 111 MoveFile(info); 112 } 113 } 114 115 private void MoveDirectory(DirectoryInfo info) 116 { 117 throw new NotImplementedException(); 118 } 119 120 private void MoveFile(FileInfo info) 97 121 { 98 122 throw new NotImplementedException();
Note: See TracChangeset
for help on using the changeset viewer.
