Fix comments

This commit is contained in:
Philip O'Toole
2026-01-19 10:51:19 -05:00
parent 2d3a66605b
commit 3b35c67039

View File

@@ -43,7 +43,7 @@ func NewHeaderFromFile(path string, crc32 bool) (*Header, error) {
// dbPath may be empty, in which case no DB header is included. walPaths may be empty.
//
// This type enforces certain invariants:
// - At least one of dbPath or walPaths must be non-empty. This has various uses:
// - At least one of dbPath or walPaths must be non-empty.
// - If only WALs are provided, then only one WAL is allowed. This represents an
// incremental snapshot.
func NewSnapshotHeader(dbPath string, walPaths ...string) (*SnapshotHeader, error) {