aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Shares/IShareService.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-09-03 12:36:26 -0500
committerJP Dillingham <jpdillingham@gmail.com>2022-09-03 12:36:26 -0500
commit282ab06901b04ca83c570d9f85d646db0ef9d6c9 (patch)
tree4f7bdd1b923ba843018594632d69441d809de71b /src/slskd/Shares/IShareService.cs
parent4b18fd9ee437d472b3922191afe0e49ae16e286a (diff)
downloadslskd-282ab06901b04ca83c570d9f85d646db0ef9d6c9.tar.gz
normalize/localize paths in ShareService
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.