コード例 #1
0
ファイル: keydb.go プロジェクト: JonathanLogan/mute
// Vacuum executes VACUUM command in keyDB. If autoVacuumMode is not nil and
// different from the current one, the auto_vacuum mode is changed before
// VACUUM is executed.
func (keyDB *KeyDB) Vacuum(autoVacuumMode string) error {
	return encdb.Vacuum(keyDB.encDB, autoVacuumMode)
}
コード例 #2
0
ファイル: msgdb.go プロジェクト: JonathanLogan/mute
// Vacuum executes VACUUM command in msgDB. If autoVacuumMode is not nil and
// different from the current one, the auto_vacuum mode is changed before
// VACUUM is executed.
func (msgDB *MsgDB) Vacuum(autoVacuumMode string) error {
	return encdb.Vacuum(msgDB.encDB, autoVacuumMode)
}