Interface IDirectoryService
Assembly: MediaBrowser.Controller.dll
public interface IDirectoryService
Methods
Declaration
void AddOrUpdateCache(string key, object item)
Parameters
Declaration
BaseItem[] GetCachedValidChildren(long id)
Parameters
Type |
Name |
Description |
Int64 |
id |
|
Returns
Declaration
FileSystemMetadata GetFile(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
Declaration
FileSystemMetadata GetFile(string directory, string filename, bool caseSensitive)
Parameters
Returns
Declaration
List<string> GetFilePaths(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
Declaration
List<string> GetFilePaths(string path, bool clearCache)
Parameters
Returns
Declaration
List<FileSystemMetadata> GetFiles(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
Declaration
FileSystemMetadata[] GetFileSystemEntries(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
Declaration
FileSystemMetadata[] GetFileSystemEntries(string path, bool clearCache)
Parameters
Returns
Declaration
bool IsTaggedItemRefreshed(long id)
Parameters
Type |
Name |
Description |
Int64 |
id |
|
Returns
Declaration
void MarkTaggedItemRefreshed(long id)
Parameters
Type |
Name |
Description |
Int64 |
id |
|
Declaration
void SetCachedValidChildren(long id, BaseItem[] children)
Parameters
Declaration
bool TryGetFromCache<T>(string key, out T result)
where T : class
Parameters
Type |
Name |
Description |
String |
key |
|
T |
result |
|
Returns
Type Parameters
Extension Methods