From fc5c6c0404b06accb3617c0d4f181bb7c344119c Mon Sep 17 00:00:00 2001 From: Cody Robibero Date: Mon, 28 Feb 2022 16:16:25 -0700 Subject: Use IFileSystem --- MediaBrowser.Model/IO/IFileSystem.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'MediaBrowser.Model/IO/IFileSystem.cs') diff --git a/MediaBrowser.Model/IO/IFileSystem.cs b/MediaBrowser.Model/IO/IFileSystem.cs index 7207795b0..234d96369 100644 --- a/MediaBrowser.Model/IO/IFileSystem.cs +++ b/MediaBrowser.Model/IO/IFileSystem.cs @@ -200,5 +200,12 @@ namespace MediaBrowser.Model.IO void SetAttributes(string path, bool isHidden, bool readOnly); IEnumerable GetDrives(); + + /// + /// Determines whether the directory or file exists. + /// + /// The path. + /// Whether the path exists. + bool Exists(string path); } } -- cgit v1.2.3