aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/IO
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2022-03-02 19:55:44 -0700
committerCody Robibero <cody@robibe.ro>2022-03-02 19:55:44 -0700
commit1b3e56bae32db452ae4859c533ebdf6740a937cf (patch)
tree816d3b7754367529176abd6e1c51985c36aa5e41 /MediaBrowser.Model/IO
parent71a9ae315006254eeea6e86cba07c981013c6957 (diff)
Split DirectoryExists and FileExists
Diffstat (limited to 'MediaBrowser.Model/IO')
-rw-r--r--MediaBrowser.Model/IO/IFileSystem.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/MediaBrowser.Model/IO/IFileSystem.cs b/MediaBrowser.Model/IO/IFileSystem.cs
index 234d96369..786b20e9e 100644
--- a/MediaBrowser.Model/IO/IFileSystem.cs
+++ b/MediaBrowser.Model/IO/IFileSystem.cs
@@ -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);
}
}