diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-10-10 15:31:38 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-10-10 15:31:38 -0500 |
| commit | 0190f96c8ec99404bcce5078917a1786ede510af (patch) | |
| tree | 69bf7d1a1181aaa7c553f75a1b6a4800a719b830 /src/slskd/Shares/IShareService.cs | |
| parent | bccd6202d2d3d6e60b6a24423f0ab628b6d7dd39 (diff) | |
| download | slskd-0190f96c8ec99404bcce5078917a1786ede510af.tar.gz | |
return the resolved filename, not FileInfo. Add a way to request a scan
Diffstat (limited to 'src/slskd/Shares/IShareService.cs')
| -rw-r--r-- | src/slskd/Shares/IShareService.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/slskd/Shares/IShareService.cs b/src/slskd/Shares/IShareService.cs index 2a18f5b3..f8e2076d 100644 --- a/src/slskd/Shares/IShareService.cs +++ b/src/slskd/Shares/IShareService.cs @@ -60,7 +60,12 @@ namespace slskd.Shares /// <exception cref="NotFoundException"> /// Thrown when the specified remote filename can not be associated with a configured share. /// </exception> - Task<FileInfo> ResolveFileAsync(string remoteFilename); + Task<string> ResolveFileAsync(string remoteFilename); + + /// <summary> + /// Requests that a share scan is performed. + /// </summary> + void RequestScan(); /// <summary> /// Searches the cache for the specified <paramref name="query"/> and returns the matching files. |
