diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2019-06-21 23:33:37 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-21 23:33:37 -0700 |
| commit | 1b2621cd30eb22ce6fbc8b94175ce8f5fce0330f (patch) | |
| tree | ef176427d50a1796aebbce944dd4d62da5f9bc44 /MediaBrowser.Controller | |
| parent | dbc2cda9d41eb9dca6f635f3498c14a4e09a84e6 (diff) | |
| parent | 253e72f66720c2f590c443f8347e2187f4f36db0 (diff) | |
Merge pull request #1454 from Bond-009/webresource
Simplify file serving code
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/IResourceFileManager.cs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/MediaBrowser.Controller/IResourceFileManager.cs b/MediaBrowser.Controller/IResourceFileManager.cs index f70ea6a17..69a51cec8 100644 --- a/MediaBrowser.Controller/IResourceFileManager.cs +++ b/MediaBrowser.Controller/IResourceFileManager.cs @@ -1,16 +1,7 @@ -using System; -using System.IO; -using System.Threading.Tasks; -using MediaBrowser.Model.Services; - namespace MediaBrowser.Controller { public interface IResourceFileManager { - Task<object> GetStaticFileResult(IRequest request, string basePath, string virtualPath, string contentType, TimeSpan? cacheDuration); - - Stream GetResourceFileStream(string basePath, string virtualPath); - - string ReadAllText(string basePath, string virtualPath); + string GetResourcePath(string basePath, string virtualPath); } } |
