diff options
Diffstat (limited to 'src/slskd/Shares/IShareService.cs')
| -rw-r--r-- | src/slskd/Shares/IShareService.cs | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/slskd/Shares/IShareService.cs b/src/slskd/Shares/IShareService.cs index 90fa115d..b55db482 100644 --- a/src/slskd/Shares/IShareService.cs +++ b/src/slskd/Shares/IShareService.cs @@ -43,18 +43,19 @@ namespace slskd.Shares void AddOrUpdateHost(Host host); /// <summary> - /// Backs contents of the cache up to the specified file. - /// </summary> - /// <param name="connectionString">The destination connection string.</param> - void BackupTo(string connectionString); - - /// <summary> /// Returns the entire contents of the share. /// </summary> /// <returns>The entire contents of the share.</returns> Task<IEnumerable<Directory>> BrowseAsync(Share share = null); /// <summary> + /// Dumps the local share cache to a file. + /// </summary> + /// <param name="filename">The destination file.</param> + /// <returns>The operation context.</returns> + Task DumpAsync(string filename); + + /// <summary> /// Returns the contents of the specified <paramref name="directory"/>. /// </summary> /// <param name="directory">The directory for which the contents are to be listed.</param> |
