aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Shares/IShareService.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-10-14 18:29:11 -0500
committerJP Dillingham <jp@dillingham.me>2022-10-14 18:29:11 -0500
commita0a984cebed195a814152de95bed480ea9a3d29d (patch)
tree4320d179d24aae7a96fe055ea1fb43f6bca0fdf5 /src/slskd/Shares/IShareService.cs
parent4d69426a19ffff519368ec2b75e8634fdd23d861 (diff)
downloadslskd-a0a984cebed195a814152de95bed480ea9a3d29d.tar.gz
wip
Diffstat (limited to 'src/slskd/Shares/IShareService.cs')
-rw-r--r--src/slskd/Shares/IShareService.cs13
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>