aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Shares/IShareRepository.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-09-30 10:02:31 -0500
committerGitHub <noreply@github.com>2026-09-30 10:02:31 -0500
commit21f0caf2fc3114d70eabe62ffdd3305ab684c365 (patch)
tree31e43c1b990670d8d251e0310d8f6fc1b1243d55 /src/slskd/Shares/IShareRepository.cs
parentf950cfdb6145b7a251f3c12f3eee14b295a4b374 (diff)
parent7beef0748745aaa01b717dbde294365ec7a1dc36 (diff)
downloadslskd-21f0caf2fc3114d70eabe62ffdd3305ab684c365.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>