mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-01 01:12:58 +00:00
Split DirectoryExists and FileExists
This commit is contained in:
parent
71a9ae3150
commit
1b3e56bae3
6 changed files with 30 additions and 17 deletions
|
|
@ -202,10 +202,17 @@ namespace MediaBrowser.Model.IO
|
|||
IEnumerable<FileSystemMetadata> GetDrives();
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether the directory or file exists.
|
||||
/// Determines whether the directory exists.
|
||||
/// </summary>
|
||||
/// <param name="path">The path.</param>
|
||||
/// <returns>Whether the path exists.</returns>
|
||||
bool Exists(string path);
|
||||
bool DirectoryExists(string path);
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether the file exists.
|
||||
/// </summary>
|
||||
/// <param name="path">The path.</param>
|
||||
/// <returns>Whether the path exists.</returns>
|
||||
bool FileExists(string path);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue