mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Added Recycle Bin to server side
New: Recycle Bin is now available
This commit is contained in:
parent
b52dcfd2ef
commit
23118871fd
13 changed files with 586 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue