aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/IO/IFileSystem.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2022-02-28 16:16:25 -0700
committerCody Robibero <cody@robibe.ro>2022-02-28 17:14:33 -0700
commitfc5c6c0404b06accb3617c0d4f181bb7c344119c (patch)
treeb7cb3d3ac444aca21fe4a1f360325c2951339fee /MediaBrowser.Model/IO/IFileSystem.cs
parent1d367712bb2ec87a1d36f9b23deb2c0ad5fa7279 (diff)
Use IFileSystem
Diffstat (limited to 'MediaBrowser.Model/IO/IFileSystem.cs')
-rw-r--r--MediaBrowser.Model/IO/IFileSystem.cs7
1 files changed, 7 insertions, 0 deletions
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<FileSystemMetadata> GetDrives();
+
+ /// <summary>
+ /// Determines whether the directory or file exists.
+ /// </summary>
+ /// <param name="path">The path.</param>
+ /// <returns>Whether the path exists.</returns>
+ bool Exists(string path);
}
}