diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2022-09-03 12:36:26 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2022-09-03 12:36:26 -0500 |
| commit | 282ab06901b04ca83c570d9f85d646db0ef9d6c9 (patch) | |
| tree | 4f7bdd1b923ba843018594632d69441d809de71b /src/slskd/Shares/IShareService.cs | |
| parent | 4b18fd9ee437d472b3922191afe0e49ae16e286a (diff) | |
| download | slskd-282ab06901b04ca83c570d9f85d646db0ef9d6c9.tar.gz | |
normalize/localize paths in ShareService
Diffstat (limited to 'src/slskd/Shares/IShareService.cs')
| -rw-r--r-- | src/slskd/Shares/IShareService.cs | 4 |
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. |
