jellyfin/MediaBrowser.Controller/Providers/IDirectoryService.cs

18 lines
665 B
C#
Raw Normal View History

2015-03-13 12:37:19 -07:00
using System.Collections.Generic;
2017-05-25 23:48:54 -07:00
2016-10-25 12:02:04 -07:00
using MediaBrowser.Controller.IO;
using MediaBrowser.Model.IO;
2015-03-13 12:37:19 -07:00
namespace MediaBrowser.Controller.Providers
{
public interface IDirectoryService
{
2015-10-03 20:38:46 -07:00
IEnumerable<FileSystemMetadata> GetFileSystemEntries(string path);
IEnumerable<FileSystemMetadata> GetDirectories(string path);
2017-03-28 23:26:48 -07:00
IEnumerable<FileSystemMetadata> GetFiles(string path);
IEnumerable<string> GetFilePaths(string path);
IEnumerable<string> GetFilePaths(string path, bool clearCache);
2015-10-03 20:38:46 -07:00
FileSystemMetadata GetFile(string path);
Dictionary<string, FileSystemMetadata> GetFileSystemDictionary(string path);
2015-03-13 12:37:19 -07:00
}
}