mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 12:32:31 +01:00
Revert "Fixed regression, mono should resolve symlinks while trying to find out the available/total space."
This reverts commit d33efe59fc
.
This commit is contained in:
parent
d33efe59fc
commit
262b8daec1
@ -22,13 +22,6 @@ public DiskProvider(IProcMountProvider procMountProvider)
|
|||||||
_procMountProvider = procMountProvider;
|
_procMountProvider = procMountProvider;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override IMount GetMount(string path)
|
|
||||||
{
|
|
||||||
path = UnixPath.GetCompleteRealPath(path);
|
|
||||||
|
|
||||||
return base.GetMount(path);
|
|
||||||
}
|
|
||||||
|
|
||||||
public override long? GetAvailableSpace(string path)
|
public override long? GetAvailableSpace(string path)
|
||||||
{
|
{
|
||||||
Ensure.That(path, () => path).IsValidPath();
|
Ensure.That(path, () => path).IsValidPath();
|
||||||
|
Loading…
Reference in New Issue
Block a user