From f9be54cfc4ccb30f7f4601b91580ea01e48c9075 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 6 Aug 2021 09:52:39 -0500 Subject: implement share masking --- src/slskd/Application/ISharedFileCache.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/slskd/Application/ISharedFileCache.cs b/src/slskd/Application/ISharedFileCache.cs index 291d78e4..4bc3f593 100644 --- a/src/slskd/Application/ISharedFileCache.cs +++ b/src/slskd/Application/ISharedFileCache.cs @@ -43,6 +43,14 @@ namespace slskd /// The operation context. Task FillAsync(); + /// + /// Substitutes the mask in the specified with the original path, if the mask is tracked + /// by the cache. + /// + /// The fully qualified filename to unmask. + /// The unmasked filename. + public string Resolve(string filename); + /// /// Searches the cache for the specified and returns the matching files. /// -- cgit v1.2.3