aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Application/ISharedFileCache.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Application/ISharedFileCache.cs')
-rw-r--r--src/slskd/Application/ISharedFileCache.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/slskd/Application/ISharedFileCache.cs b/src/slskd/Application/ISharedFileCache.cs
index 4bc3f593..93b836f3 100644
--- a/src/slskd/Application/ISharedFileCache.cs
+++ b/src/slskd/Application/ISharedFileCache.cs
@@ -44,6 +44,13 @@ namespace slskd
Task FillAsync();
/// <summary>
+ /// Returns the contents of the specified <paramref name="directory"/>.
+ /// </summary>
+ /// <param name="directory">The directory for which the contents are to be listed.</param>
+ /// <returns>The contents of the directory.</returns>
+ Directory List(string directory);
+
+ /// <summary>
/// Substitutes the mask in the specified <paramref name="filename"/> with the original path, if the mask is tracked
/// by the cache.
/// </summary>