diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-09-13 02:20:19 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-09-13 02:20:19 -0500 |
| commit | fab938740106725aa8486eb4503cf91cfe8d81e2 (patch) | |
| tree | dab1b7af672e89e24e72cdc6b1cb2fd95ff55859 /src/slskd/Shares/IShareRepository.cs | |
| parent | f71b893e6b625b12906537166b332d550ed5f115 (diff) | |
| download | slskd-fab938740106725aa8486eb4503cf91cfe8d81e2.tar.gz | |
add Checkpoint()
Diffstat (limited to 'src/slskd/Shares/IShareRepository.cs')
| -rw-r--r-- | src/slskd/Shares/IShareRepository.cs | 5 |
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> |
