diff options
| author | Cody Robibero <cody@robibe.ro> | 2022-02-28 16:16:25 -0700 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2022-02-28 17:14:33 -0700 |
| commit | fc5c6c0404b06accb3617c0d4f181bb7c344119c (patch) | |
| tree | b7cb3d3ac444aca21fe4a1f360325c2951339fee /MediaBrowser.Model/IO/IFileSystem.cs | |
| parent | 1d367712bb2ec87a1d36f9b23deb2c0ad5fa7279 (diff) | |
Use IFileSystem
Diffstat (limited to 'MediaBrowser.Model/IO/IFileSystem.cs')
| -rw-r--r-- | MediaBrowser.Model/IO/IFileSystem.cs | 7 |
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); } } |
