mirror of
https://github.com/rqlite/rqlite.git
synced 2026-01-25 04:16:26 +00:00
Add store
This commit is contained in:
13
snapshot2/store.go
Normal file
13
snapshot2/store.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package snapshot2
|
||||
|
||||
import "path/filepath"
|
||||
|
||||
const (
|
||||
metaFileName = "meta.json"
|
||||
tmpSuffix = ".tmp"
|
||||
)
|
||||
|
||||
// metaPath returns the path to the meta file in the given directory.
|
||||
func metaPath(dir string) string {
|
||||
return filepath.Join(dir, metaFileName)
|
||||
}
|
||||
Reference in New Issue
Block a user