IDirectoryService.cs 570 B

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