You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/MediaBrowser.Controller/IResourceFileManager.cs

17 lines
476 B

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);
}
}