aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Shares/IShareService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Shares/IShareService.cs')
-rw-r--r--src/slskd/Shares/IShareService.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/slskd/Shares/IShareService.cs b/src/slskd/Shares/IShareService.cs
index 16f1a890..a2eeed92 100644
--- a/src/slskd/Shares/IShareService.cs
+++ b/src/slskd/Shares/IShareService.cs
@@ -15,6 +15,8 @@
// along with this program. If not, see https://www.gnu.org/licenses/.
// </copyright>
+using System.IO;
+
namespace slskd.Shares
{
using System.Collections.Generic;
@@ -58,7 +60,7 @@ namespace slskd.Shares
/// <exception cref="NotFoundException">
/// Thrown when the specified remote filename can not be associated with a configured share.
/// </exception>
- Task<string> ResolveFilenameAsync(string remoteFilename);
+ Task<FileInfo> ResolveFileAsync(string remoteFilename);
/// <summary>
/// Searches the cache for the specified <paramref name="query"/> and returns the matching files.