MCPcopy Create free account
hub / github.com/WiseLibs/better-sqlite3 / AddBackup

Method AddBackup

src/objects/database.hpp:40–40  ·  view source on GitHub ↗

Allow Backups to manage themselves when created and garbage collected.

Source from the content-addressed store, hash-verified

38
39 // Allow Backups to manage themselves when created and garbage collected.
40 inline void AddBackup(Backup* backup) { backups.insert(backups.end(), backup); }
41 inline void RemoveBackup(Backup* backup) { backups.erase(backup); }
42
43 // A view for Statements to see and modify Database state.

Callers 1

NODE_METHODFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected