Added Recycle Bin to server side

New: Recycle Bin is now available
This commit is contained in:
Mark McDowall 2012-09-03 23:49:04 -07:00
commit 23118871fd
13 changed files with 586 additions and 6 deletions

View file

@ -225,5 +225,15 @@ namespace NzbDrone.Common
return new FileInfo(path).Length;
}
public virtual void FileSetLastWriteTimeUtc(string path, DateTime dateTime)
{
File.SetLastWriteTimeUtc(path, dateTime);
}
public virtual void DirectorySetLastWriteTimeUtc(string path, DateTime dateTime)
{
Directory.SetLastWriteTimeUtc(path, dateTime);
}
}
}