mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 20:47:22 +08:00
Actually delete files
This commit is contained in:
parent
c73e139954
commit
821f65c381
@ -41,7 +41,7 @@ namespace osu.Game.IO
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
foreach (var f in Query<FileInfo>())
|
foreach (var f in Query<FileInfo>())
|
||||||
Storage.Delete(Path.Combine(prefix, f.Hash));
|
Storage.Delete(Path.Combine(prefix, f.StoragePath));
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
@ -150,7 +150,7 @@ namespace osu.Game.IO
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
Connection.Delete(f);
|
Connection.Delete(f);
|
||||||
Storage.Delete(Path.Combine(prefix, f.Hash));
|
Storage.Delete(Path.Combine(prefix, f.StoragePath));
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user