IDirectoryService.cs 665 B

123456789101112131415161718
  1. using System.Collections.Generic;
  2. using MediaBrowser.Controller.IO;
  3. using MediaBrowser.Model.IO;
  4. namespace MediaBrowser.Controller.Providers
  5. {
  6. public interface IDirectoryService
  7. {
  8. IEnumerable<FileSystemMetadata> GetFileSystemEntries(string path);
  9. IEnumerable<FileSystemMetadata> GetDirectories(string path);
  10. IEnumerable<FileSystemMetadata> GetFiles(string path);
  11. IEnumerable<string> GetFilePaths(string path);
  12. IEnumerable<string> GetFilePaths(string path, bool clearCache);
  13. FileSystemMetadata GetFile(string path);
  14. Dictionary<string, FileSystemMetadata> GetFileSystemDictionary(string path);
  15. }
  16. }