IDirectoryService.cs 617 B

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