2015-03-13 12:37:19 -07:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.IO;
|
2015-10-03 21:23:11 -07:00
|
|
|
using CommonIO;
|
2015-10-03 20:38:46 -07:00
|
|
|
using MediaBrowser.Common.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> GetFiles(string path);
|
|
|
|
IEnumerable<FileSystemMetadata> GetDirectories(string path);
|
|
|
|
IEnumerable<FileSystemMetadata> GetFiles(string path, bool clearCache);
|
|
|
|
FileSystemMetadata GetFile(string path);
|
|
|
|
Dictionary<string, FileSystemMetadata> GetFileSystemDictionary(string path);
|
2015-03-13 12:37:19 -07:00
|
|
|
}
|
|
|
|
}
|