grim/wasdead

Add a command to clean up the database
draft
2019-05-10, Gary Kramlich
5c237823f4c9
Add a command to clean up the database
package commands
import (
"github.com/prologic/bitcask"
"bitbucket.org/TheToyz/nowdead/globals"
)
type TidyCmd struct{}
func (c *TidyCmd) Run(g *globals.Globals) error {
return bitcask.Merge(g.DatabasePath, false)
}