IDirectoryService.cs 547 B

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