mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 04:37:00 +00:00
simplify database backup interface related
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
4f8fec7e5a
commit
3c5bbd4f05
3 files changed
+69
-52
No files matched your search
@@ -72,10 +72,4 @@ impl Data {
|
||||
pub fn bump_database_version(&self, new_version: u64) {
|
||||
self.global.raw_put(b"version", new_version);
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn backup(&self) -> Result { self.db.db.backup() }
|
||||
|
||||
#[inline]
|
||||
pub fn backup_list(&self) -> Result<String> { self.db.db.backup_list() }
|
||||
}
|
||||
Reference in new issue
Block a user