diff options
| author | Cody Robibero <cody@robibe.ro> | 2022-02-14 16:57:00 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-14 16:57:00 -0700 |
| commit | 4ef0099598d0d21fe8b808f2c1ab126ede4b7b2f (patch) | |
| tree | 347cfa7b445fbe0456b45606424899e82310e2df /Emby.Server.Implementations/IO/ManagedFileSystem.cs | |
| parent | 4acab009632251656158e1e9ded68574f64be967 (diff) | |
| parent | 5d28c5547e69b0d40e0bd2792335c9f85dba655b (diff) | |
Merge pull request #7233 from Bond-009/warn60
Diffstat (limited to 'Emby.Server.Implementations/IO/ManagedFileSystem.cs')
| -rw-r--r-- | Emby.Server.Implementations/IO/ManagedFileSystem.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/IO/ManagedFileSystem.cs b/Emby.Server.Implementations/IO/ManagedFileSystem.cs index 5c86dbbb7..4f8a52f41 100644 --- a/Emby.Server.Implementations/IO/ManagedFileSystem.cs +++ b/Emby.Server.Implementations/IO/ManagedFileSystem.cs @@ -581,7 +581,7 @@ namespace Emby.Server.Implementations.IO } /// <inheritdoc /> - public virtual List<FileSystemMetadata> GetDrives() + public virtual IEnumerable<FileSystemMetadata> GetDrives() { // check for ready state to avoid waiting for drives to timeout // some drives on linux have no actual size or are used for other purposes @@ -595,7 +595,7 @@ namespace Emby.Server.Implementations.IO Name = d.Name, FullName = d.RootDirectory.FullName, IsDirectory = true - }).ToList(); + }); } /// <inheritdoc /> |
