aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Shares/IShareRepository.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-09-30 19:06:00 -0500
committerGitHub <noreply@github.com>2026-09-30 19:06:00 -0500
commit4623fd59125c7fa336784ca73c0de6605e52cb3b (patch)
tree04648f03a45ee51772d4017646c0b835ed032f1c /src/slskd/Shares/IShareRepository.cs
parent65336e052d9e912ec623a60ea540ea206824ea7e (diff)
parentd11b46884919add15d89e21512e581ecec8d2d89 (diff)
downloadslskd-4623fd59125c7fa336784ca73c0de6605e52cb3b.tar.gz
Merge branch 'master' into dockerfile
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>