mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
23 lines
576 B
C#
23 lines
576 B
C#
#pragma warning disable CA1002, CA1819, CS1591
|
|
|
|
using System.Collections.Generic;
|
|
using MediaBrowser.Model.IO;
|
|
|
|
namespace MediaBrowser.Controller.Providers
|
|
{
|
|
public interface IDirectoryService
|
|
{
|
|
FileSystemMetadata[] GetFileSystemEntries(string path);
|
|
|
|
List<FileSystemMetadata> GetFiles(string path);
|
|
|
|
FileSystemMetadata? GetFile(string path);
|
|
|
|
IReadOnlyList<string> GetFilePaths(string path);
|
|
|
|
IReadOnlyList<string> GetFilePaths(string path, bool clearCache, bool sort = false);
|
|
|
|
bool IsAccessible(string path);
|
|
}
|
|
}
|