From fab938740106725aa8486eb4503cf91cfe8d81e2 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 13 Sep 2026 02:20:19 -0500 Subject: add Checkpoint() --- src/slskd/Shares/IShareRepository.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/slskd/Shares/IShareRepository.cs') 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 @@ -52,6 +52,11 @@ namespace slskd.Shares /// The destination repository. void BackupTo(IShareRepository repository); + /// + /// Checkpoints the current database, flushing the contents of the WAL (write ahead log) into the table(s). + /// + void Checkpoint(); + /// /// Counts the number of directories in the database. /// -- cgit v1.2.3