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