diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2021-02-22 21:00:46 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-22 21:00:46 -0500 |
| commit | 7ece3c552337340a997a75aab1520a501a673f61 (patch) | |
| tree | 4bb865830c06de487d65706959b5df2b47fc14e1 /MediaBrowser.Model/IO/IFileSystem.cs | |
| parent | c0c4aff8a642013ec406c065c8374aaad8b4ef65 (diff) | |
| parent | 003945f25b8d19de4638789bf0cdf580c546c9dd (diff) | |
Merge pull request #5273 from Bond-009/warn31
Diffstat (limited to 'MediaBrowser.Model/IO/IFileSystem.cs')
| -rw-r--r-- | MediaBrowser.Model/IO/IFileSystem.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/MediaBrowser.Model/IO/IFileSystem.cs b/MediaBrowser.Model/IO/IFileSystem.cs index dc6549787..ef08ecec6 100644 --- a/MediaBrowser.Model/IO/IFileSystem.cs +++ b/MediaBrowser.Model/IO/IFileSystem.cs @@ -155,13 +155,16 @@ namespace MediaBrowser.Model.IO /// Gets the directories. /// </summary> /// <param name="path">The path.</param> - /// <param name="recursive">if set to <c>true</c> [recursive].</param> - /// <returns>IEnumerable<DirectoryInfo>.</returns> + /// <param name="recursive">If set to <c>true</c> also searches in subdirectiories.</param> + /// <returns>All found directories.</returns> IEnumerable<FileSystemMetadata> GetDirectories(string path, bool recursive = false); /// <summary> /// Gets the files. /// </summary> + /// <param name="path">The path in which to search.</param> + /// <param name="recursive">If set to <c>true</c> also searches in subdirectiories.</param> + /// <returns>All found files.</returns> IEnumerable<FileSystemMetadata> GetFiles(string path, bool recursive = false); IEnumerable<FileSystemMetadata> GetFiles(string path, IReadOnlyList<string> extensions, bool enableCaseSensitiveExtensions, bool recursive); |
