aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Files/IFileService.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-06-30 09:43:11 -0500
committerJP Dillingham <jp@dillingham.me>2023-06-30 09:43:11 -0500
commit26786311ffc3a01bdd15158fe0c03bb58d8391ec (patch)
treec5fa098f5282c4379bf7a43038a30b7ca26bf94d /src/slskd/Files/IFileService.cs
parent5bc462d774633c40dd9ae5efd35cfca2cf71f0ef (diff)
downloadslskd-26786311ffc3a01bdd15158fe0c03bb58d8391ec.tar.gz
include subdirectories in directory body, return only one
Diffstat (limited to 'src/slskd/Files/IFileService.cs')
-rw-r--r--src/slskd/Files/IFileService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Files/IFileService.cs b/src/slskd/Files/IFileService.cs
index 8e3ddcb7..2d4d66f5 100644
--- a/src/slskd/Files/IFileService.cs
+++ b/src/slskd/Files/IFileService.cs
@@ -65,6 +65,6 @@ namespace slskd.Files
/// <returns>The list of found contents.</returns>
/// <exception cref="NotFoundException">Thrown if the specified directory does not exist.</exception>
/// <exception cref="ForbiddenException">Thrown if the specified root directory is restricted.</exception>
- Task<IEnumerable<FilesystemDirectory>> ListContentsAsync(string rootDirectory, string parentDirectory = null, EnumerationOptions enumerationOptions = null);
+ Task<FilesystemDirectory> ListContentsAsync(string rootDirectory, string parentDirectory = null, EnumerationOptions enumerationOptions = null);
}
} \ No newline at end of file