Rename and xmldoc hard link creation method

This commit is contained in:
Bartłomiej Dach
2022-12-28 21:23:06 +01:00
parent cadd487c75
commit 04d4b4a6ce
2 changed files with 13 additions and 5 deletions

View File

@ -65,7 +65,7 @@ namespace osu.Game.Database
if (data is FileStream fs && preferHardLinks)
{
// attempt to do a fast hard link rather than copy.
if (HardLinkHelper.AttemptHardLink(Storage.GetFullPath(file.GetStoragePath(), true), fs.Name))
if (HardLinkHelper.TryCreateHardLink(Storage.GetFullPath(file.GetStoragePath(), true), fs.Name))
return;
}