mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 00:04:25 +00:00
Add Debug menu command Vacuum Databases.
This commit is contained in:
1 parent
e8815abe23
commit
f8980a51b5
15 files changed
+83
No files matched your search
@@ -28,6 +28,10 @@ public actor SyncDatabase {
|
||||
|
||||
// MARK: - API
|
||||
|
||||
public func vacuum() {
|
||||
database?.vacuum()
|
||||
}
|
||||
|
||||
public func insertStatuses(_ statuses: Set<SyncStatus>) throws {
|
||||
guard let database else {
|
||||
throw DatabaseError.isSuspended
|
||||
|
||||
Reference in new issue
Block a user