2021-07-26 22:08:27 +02:00
|
|
|
#pragma warning disable CA1002, CA1819, CS1591
|
2020-08-22 21:56:24 +02:00
|
|
|
|
2018-12-28 00:27:57 +01:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using MediaBrowser.Model.IO;
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Providers
|
|
|
|
{
|
|
|
|
public interface IDirectoryService
|
|
|
|
{
|
|
|
|
FileSystemMetadata[] GetFileSystemEntries(string path);
|
2020-03-09 15:05:03 +01:00
|
|
|
|
2018-12-28 00:27:57 +01:00
|
|
|
List<FileSystemMetadata> GetFiles(string path);
|
2020-03-09 15:05:03 +01:00
|
|
|
|
2021-05-07 00:52:06 +02:00
|
|
|
FileSystemMetadata? GetFile(string path);
|
2018-12-28 00:27:57 +01:00
|
|
|
|
2020-02-23 10:53:51 +01:00
|
|
|
IReadOnlyList<string> GetFilePaths(string path);
|
2020-03-09 15:05:03 +01:00
|
|
|
|
2021-05-24 00:30:41 +02:00
|
|
|
IReadOnlyList<string> GetFilePaths(string path, bool clearCache, bool sort = false);
|
2018-12-28 00:27:57 +01:00
|
|
|
}
|
2019-01-13 20:30:58 +01:00
|
|
|
}
|