jellyfin/MediaBrowser.Controller/Providers/IDirectoryService.cs

21 lines
535 B
C#
Raw Normal View History

#pragma warning disable CA1002, CA1819, CS1591
2018-12-27 18:27:57 -05:00
using System.Collections.Generic;
using MediaBrowser.Model.IO;
namespace MediaBrowser.Controller.Providers
{
public interface IDirectoryService
{
FileSystemMetadata[] GetFileSystemEntries(string path);
2018-12-27 18:27:57 -05:00
List<FileSystemMetadata> GetFiles(string path);
2021-05-06 18:52:06 -04:00
FileSystemMetadata? GetFile(string path);
2018-12-27 18:27:57 -05:00
2020-02-23 04:53:51 -05:00
IReadOnlyList<string> GetFilePaths(string path);
2021-05-23 18:30:41 -04:00
IReadOnlyList<string> GetFilePaths(string path, bool clearCache, bool sort = false);
2018-12-27 18:27:57 -05:00
}
}