Add 'validate' command

This commit is contained in:
Ben Johnson
2020-12-31 10:36:48 -07:00
parent cff778464e
commit 3b9275488d
6 changed files with 364 additions and 27 deletions

View File

@@ -38,7 +38,8 @@ const (
// Litestream errors.
var (
ErrNoSnapshots = errors.New("no snapshots available")
ErrNoSnapshots = errors.New("no snapshots available")
ErrChecksumMismatch = errors.New("invalid replica, checksum mismatch")
)
// SnapshotInfo represents file information about a snapshot.