All import paths updated to git.wntrmute.dev/mc/. Bumps mcdsl to v1.2.0. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
12 lines
290 B
Go
12 lines
290 B
Go
package db
|
|
|
|
import (
|
|
mcdsldb "git.wntrmute.dev/mc/mcdsl/db"
|
|
)
|
|
|
|
// Snapshot creates a consistent backup of the database using VACUUM INTO.
|
|
// The destination file is created with 0600 permissions.
|
|
func (s *Store) Snapshot(destPath string) error {
|
|
return mcdsldb.Snapshot(s.db, destPath)
|
|
}
|