diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-09-03 16:16:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-03 16:16:58 -0500 |
| commit | 05ce3650a2afbfbc08c3903dccdec4a3526a3cd1 (patch) | |
| tree | be55213e82c9325e94b8e95f33e934e03c4512c9 /src/slskd/Shares/IShareService.cs | |
| parent | 94d16f28dfc0228febc803fffd154357bd452a0f (diff) | |
| parent | 09345a8c1c1cf3f2bf29604d8653a68cc8b8c911 (diff) | |
| download | slskd-05ce3650a2afbfbc08c3903dccdec4a3526a3cd1.tar.gz | |
Merge pull request #627 from slskd/slashes
Normalize file path separators to backslashes
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. |
