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

namespace MediaBrowser.Controller.Providers
{
    public interface IDirectoryService
    {
        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);
    }
}