jellyfin-server/MediaBrowser.Controller/Providers/IDirectoryService.cs

18 lines
665 B
C#
Raw Normal View History

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