2015-03-13 12:37:19 -07:00
|
|
|
using System.Collections.Generic;
|
2016-10-25 12:02:04 -07:00
|
|
|
using MediaBrowser.Common.IO;
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|