IDirectoryService.cs 467 B

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