Split DirectoryExists and FileExists

This commit is contained in:
Cody Robibero
2022-03-02 19:55:44 -07:00
parent 71a9ae3150
commit 1b3e56bae3
6 changed files with 30 additions and 17 deletions

View File

@@ -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);
}
}