New: Fast copy using reflink on btrfs volumes

This commit is contained in:
Taloth Saldono 2020-06-10 20:48:54 +02:00 committed by Qstick
commit 9eb5b335f3
7 changed files with 227 additions and 2 deletions

View file

@ -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);