mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-03 06:18:28 +01:00
use new naming project
This commit is contained in:
@@ -11,6 +11,7 @@ namespace MediaBrowser.Controller.Providers
|
||||
{
|
||||
IEnumerable<FileSystemInfo> GetFileSystemEntries(string path);
|
||||
IEnumerable<FileSystemInfo> GetFiles(string path);
|
||||
IEnumerable<FileSystemInfo> GetDirectories(string path);
|
||||
IEnumerable<FileSystemInfo> GetFiles(string path, bool clearCache);
|
||||
FileSystemInfo GetFile(string path);
|
||||
Dictionary<string, FileSystemInfo> GetFileSystemDictionary(string path);
|
||||
@@ -109,5 +110,10 @@ namespace MediaBrowser.Controller.Providers
|
||||
|
||||
return entry;
|
||||
}
|
||||
|
||||
public IEnumerable<FileSystemInfo> GetDirectories(string path)
|
||||
{
|
||||
return GetFileSystemEntries(path, false).Where(i => (i.Attributes & FileAttributes.Directory) == FileAttributes.Directory);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user