Use IFileSystem

This commit is contained in:
Cody Robibero
2022-02-28 16:16:25 -07:00
parent 1d367712bb
commit fc5c6c0404
12 changed files with 111 additions and 50 deletions

View File

@@ -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);
}
}