aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Providers/IDirectoryService.cs
blob: 343cf361f006fab4ba3bc174adb75fb6a95f687b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System.Collections.Generic;
using System.IO;

namespace MediaBrowser.Controller.Providers
{
    public interface IDirectoryService
    {
        IEnumerable<FileSystemInfo> GetFileSystemEntries(string path);
        IEnumerable<FileSystemInfo> GetFiles(string path);
        IEnumerable<FileSystemInfo> GetDirectories(string path);
        IEnumerable<FileSystemInfo> GetFiles(string path, bool clearCache);
        FileSystemInfo GetFile(string path);
        Dictionary<string, FileSystemInfo> GetFileSystemDictionary(string path);
    }
}