aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/IResourceFileManager.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2019-06-21 23:33:37 -0700
committerGitHub <noreply@github.com>2019-06-21 23:33:37 -0700
commit1b2621cd30eb22ce6fbc8b94175ce8f5fce0330f (patch)
treeef176427d50a1796aebbce944dd4d62da5f9bc44 /MediaBrowser.Controller/IResourceFileManager.cs
parentdbc2cda9d41eb9dca6f635f3498c14a4e09a84e6 (diff)
parent253e72f66720c2f590c443f8347e2187f4f36db0 (diff)
Merge pull request #1454 from Bond-009/webresource
Simplify file serving code
Diffstat (limited to 'MediaBrowser.Controller/IResourceFileManager.cs')
-rw-r--r--MediaBrowser.Controller/IResourceFileManager.cs11
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);
}
}