jellyfin/MediaBrowser.Controller/Providers/IDirectoryService.cs

17 lines
617 B
C#
Raw Normal View History

2015-03-13 19:37:19 +00:00
using System.Collections.Generic;
using System.IO;
2015-10-04 04:23:11 +00:00
using CommonIO;
2015-10-04 03:38:46 +00:00
using MediaBrowser.Common.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> 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 19:37:19 +00:00
}
}