|
|
@ -113,7 +113,7 @@ namespace NzbDrone.Common.Disk
|
|
|
|
.Select(d => new FileSystemModel
|
|
|
|
.Select(d => new FileSystemModel
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Type = FileSystemEntityType.Drive,
|
|
|
|
Type = FileSystemEntityType.Drive,
|
|
|
|
Name = d.VolumeLabel,
|
|
|
|
Name = d.VolumeName,
|
|
|
|
Path = d.RootDirectory,
|
|
|
|
Path = d.RootDirectory,
|
|
|
|
LastModified = null
|
|
|
|
LastModified = null
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -163,7 +163,7 @@ namespace NzbDrone.Common.Disk
|
|
|
|
|
|
|
|
|
|
|
|
return path;
|
|
|
|
return path;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private string GetParent(string path)
|
|
|
|
private string GetParent(string path)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var di = new DirectoryInfo(path);
|
|
|
|
var di = new DirectoryInfo(path);
|
|
|
|