Add store

This commit is contained in:
Philip O'Toole
2026-01-11 11:29:48 -05:00
parent 586e67449e
commit 191d2ef310

13
snapshot2/store.go Normal file
View 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)
}