diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-06-10 00:53:16 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-06-10 00:53:16 +0200 |
| commit | 253e72f66720c2f590c443f8347e2187f4f36db0 (patch) | |
| tree | 11ffdd45519e6e9244d66d238c6b0d53020058d4 /MediaBrowser.Controller | |
| parent | e3a3aebbf69855f527b7150304d83ca9abc955ff (diff) | |
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); } } |
