diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-06-21 10:57:02 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2023-06-21 10:57:02 -0500 |
| commit | bf1a9b9effecf8fc18528da672990bc1ed85d6eb (patch) | |
| tree | 1d3169879207fd1777783bc7764d8819a6a0ce8b /src/slskd/Files/IFileService.cs | |
| parent | 6a79a80932860b9c3ec78fcdd0d169d2efa09005 (diff) | |
| download | slskd-bf1a9b9effecf8fc18528da672990bc1ed85d6eb.tar.gz | |
return files + dirs together
Diffstat (limited to 'src/slskd/Files/IFileService.cs')
| -rw-r--r-- | src/slskd/Files/IFileService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Files/IFileService.cs b/src/slskd/Files/IFileService.cs index 0b393e64..0a750b59 100644 --- a/src/slskd/Files/IFileService.cs +++ b/src/slskd/Files/IFileService.cs @@ -27,7 +27,7 @@ namespace slskd.Files public interface IFileService { /// <summary> - /// Lists all of the contents of the specified <paramref name="parentDirectory"/>, optionally applying the + /// Lists the contents in the specified <paramref name="parentDirectory"/>, optionally applying the /// specified <paramref name="enumerationOptions"/>. /// </summary> /// <param name="parentDirectory">The directory from which to start the listing.</param> @@ -37,6 +37,6 @@ namespace slskd.Files /// Thrown if the specified directory is not rooted in an allowed directory. /// </exception> /// <exception cref="NotFoundException">Thrown if the specified directory does not exist.</exception> - Task<IEnumerable<FileSystemInfo>> ListContentsAsync(string parentDirectory, EnumerationOptions enumerationOptions = null); + Task<IEnumerable<FilesystemDirectory>> ListContentsAsync(string parentDirectory, EnumerationOptions enumerationOptions = null); } }
\ No newline at end of file |
