aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Shares/ISharedFileCache.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Shares/ISharedFileCache.cs')
-rw-r--r--src/slskd/Shares/ISharedFileCache.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/slskd/Shares/ISharedFileCache.cs b/src/slskd/Shares/ISharedFileCache.cs
index 52c7783c..61312a37 100644
--- a/src/slskd/Shares/ISharedFileCache.cs
+++ b/src/slskd/Shares/ISharedFileCache.cs
@@ -40,6 +40,12 @@ namespace slskd.Shares
IEnumerable<Directory> Browse();
/// <summary>
+ /// (Re)Creates the cache.
+ /// </summary>
+ /// <param name="discardExisting">A value indicating whether an existing cache should be discarded prior to creation.</param>
+ void Create(bool discardExisting = false);
+
+ /// <summary>
/// Scans the configured shares and fills the cache.
/// </summary>
/// <remarks>Initiates the scan, then yields execution back to the caller; does not wait for the operation to complete.</remarks>