From 1b3e56bae32db452ae4859c533ebdf6740a937cf Mon Sep 17 00:00:00 2001 From: Cody Robibero Date: Wed, 2 Mar 2022 19:55:44 -0700 Subject: Split DirectoryExists and FileExists --- MediaBrowser.Model/IO/IFileSystem.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'MediaBrowser.Model/IO/IFileSystem.cs') 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 GetDrives(); /// - /// Determines whether the directory or file exists. + /// Determines whether the directory exists. /// /// The path. /// Whether the path exists. - bool Exists(string path); + bool DirectoryExists(string path); + + /// + /// Determines whether the file exists. + /// + /// The path. + /// Whether the path exists. + bool FileExists(string path); } } -- cgit v1.2.3