aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Shares/IShareRepository.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-09-13 19:34:57 -0500
committerJP Dillingham <jp@dillingham.me>2026-09-13 19:34:57 -0500
commitf857fa37a94bac0967f31d56b839e699b39db427 (patch)
treea5519ed4082fed48ee64300effbe1f5d51fd31d1 /src/slskd/Shares/IShareRepository.cs
parent5699bcf9fde961105b917350b720803c869566f2 (diff)
parent92167f6f1657703959d6ea94e4af82169c5c5fba (diff)
downloadslskd-f857fa37a94bac0967f31d56b839e699b39db427.tar.gz
Merge remote-tracking branch 'origin/master' into enumerate
Diffstat (limited to 'src/slskd/Shares/IShareRepository.cs')
-rw-r--r--src/slskd/Shares/IShareRepository.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slskd/Shares/IShareRepository.cs b/src/slskd/Shares/IShareRepository.cs
index 3b57c16f..e9799663 100644
--- a/src/slskd/Shares/IShareRepository.cs
+++ b/src/slskd/Shares/IShareRepository.cs
@@ -53,6 +53,11 @@ namespace slskd.Shares
void BackupTo(IShareRepository repository);
/// <summary>
+ /// Checkpoints the current database, flushing the contents of the WAL (write ahead log) into the table(s).
+ /// </summary>
+ void Checkpoint();
+
+ /// <summary>
/// Counts the number of directories in the database.
/// </summary>
/// <param name="parentDirectory">The optional directory prefix used for counting subdirectories.</param>