aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Shares/SharedFileCache.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Shares/SharedFileCache.cs')
-rw-r--r--src/slskd/Shares/SharedFileCache.cs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/slskd/Shares/SharedFileCache.cs b/src/slskd/Shares/SharedFileCache.cs
index 190679a8..6e6cc6e6 100644
--- a/src/slskd/Shares/SharedFileCache.cs
+++ b/src/slskd/Shares/SharedFileCache.cs
@@ -51,13 +51,6 @@ namespace slskd.Shares
Task FillAsync(IEnumerable<Share> shares, IEnumerable<Regex> filters);
/// <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>
@@ -380,17 +373,6 @@ namespace slskd.Shares
}
/// <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>
- public Directory List(string directory)
- {
- var files = Repository.ListFiles(directory);
- return new Directory(directory, files);
- }
-
- /// <summary>
/// Substitutes the mask in the specified <paramref name="filename"/> with the original path, if the mask is tracked
/// by the cache.
/// </summary>