mirror of
https://github.com/rqlite/rqlite.git
synced 2026-01-25 04:16:26 +00:00
Fix comments
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user