From 3db86c3d8e6e88697af3d7e0a7c96a89c8227e9c Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 23 Aug 2021 12:54:40 -0500 Subject: add List() to retrieve directory contents --- src/slskd/Application/ISharedFileCache.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/slskd/Application/ISharedFileCache.cs') 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 @@ -43,6 +43,13 @@ namespace slskd /// The operation context. Task FillAsync(); + /// + /// Returns the contents of the specified . + /// + /// The directory for which the contents are to be listed. + /// The contents of the directory. + Directory List(string directory); + /// /// Substitutes the mask in the specified with the original path, if the mask is tracked /// by the cache. -- cgit v1.2.3