aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Shares/IShareService.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-10-15 17:40:57 -0500
committerJP Dillingham <jp@dillingham.me>2022-10-15 17:40:57 -0500
commitb641fc2919ff7af027d621868ca02a3cc25b67ae (patch)
treeb3fc3a553a976e4b0e4fbcde9aa526a4980760e6 /src/slskd/Shares/IShareService.cs
parente8a67ea0016560aa3f0c73f0b75b4baf86e6c13a (diff)
downloadslskd-b641fc2919ff7af027d621868ca02a3cc25b67ae.tar.gz
resolve host as well as filename
Diffstat (limited to 'src/slskd/Shares/IShareService.cs')
-rw-r--r--src/slskd/Shares/IShareService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Shares/IShareService.cs b/src/slskd/Shares/IShareService.cs
index f0c474a1..34f1bde8 100644
--- a/src/slskd/Shares/IShareService.cs
+++ b/src/slskd/Shares/IShareService.cs
@@ -87,11 +87,11 @@ namespace slskd.Shares
/// configured share.
/// </summary>
/// <param name="remoteFilename">The fully qualified filename to resolve.</param>
- /// <returns>The resolved local filename.</returns>
+ /// <returns>The resolved host and filename.</returns>
/// <exception cref="NotFoundException">
/// Thrown when the specified remote filename can not be associated with a configured share.
/// </exception>
- Task<string> ResolveFileAsync(string remoteFilename);
+ Task<(string Host, string Filename)> ResolveFileAsync(string remoteFilename);
/// <summary>
/// Requests that a share scan is performed.