diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-04-30 20:45:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-30 20:45:43 +0200 |
| commit | 360d80c873c04a9f61ded160615f161bfcdb4f74 (patch) | |
| tree | da85c9fbedd816962494f14fe11a64f0856bf058 /MediaBrowser.Controller/Entities/AggregateFolder.cs | |
| parent | 13d09cbc473c51880a6b31653302eb72422234e7 (diff) | |
| parent | b323044139fd7a0b63a717101f7ccb7f03f3f125 (diff) | |
Merge pull request #5890 from Bond-009/filesystem
Reduce string allocations/fs lookups in resolve code
Diffstat (limited to 'MediaBrowser.Controller/Entities/AggregateFolder.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/AggregateFolder.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Entities/AggregateFolder.cs b/MediaBrowser.Controller/Entities/AggregateFolder.cs index 6ebea5f44..6a92200dd 100644 --- a/MediaBrowser.Controller/Entities/AggregateFolder.cs +++ b/MediaBrowser.Controller/Entities/AggregateFolder.cs @@ -120,8 +120,7 @@ namespace MediaBrowser.Controller.Entities var args = new ItemResolveArgs(ConfigurationManager.ApplicationPaths, directoryService) { - FileInfo = FileSystem.GetDirectoryInfo(path), - Path = path + FileInfo = FileSystem.GetDirectoryInfo(path) }; // Gather child folder and files |
