mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-13 02:07:12 -07:00
New: Fast copy using reflink on btrfs volumes
This commit is contained in:
parent
4f220d9532
commit
9eb5b335f3
7 changed files with 227 additions and 2 deletions
|
@ -30,10 +30,13 @@ namespace NzbDrone.Common.Disk
|
|||
long GetFileSize(string path);
|
||||
void CreateFolder(string path);
|
||||
void DeleteFile(string path);
|
||||
void CloneFile(string source, string destination, bool overwrite = false);
|
||||
void CopyFile(string source, string destination, bool overwrite = false);
|
||||
void MoveFile(string source, string destination, bool overwrite = false);
|
||||
void MoveFolder(string source, string destination);
|
||||
bool TryRenameFile(string source, string destination);
|
||||
bool TryCreateHardLink(string source, string destination);
|
||||
bool TryCreateRefLink(string source, string destination);
|
||||
void DeleteFolder(string path, bool recursive);
|
||||
string ReadAllText(string filePath);
|
||||
void WriteAllText(string filename, string contents);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue