jldb/lib/rep/paths.go

18 lines
295 B
Go
Raw Permalink Normal View History

2023-10-16 08:50:19 +00:00
package rep
import (
"path/filepath"
)
func lockFilePath(rootDir string) string {
return filepath.Join(rootDir, "lock")
}
func walRootDir(rootDir string) string {
return filepath.Join(rootDir, "wal")
}
func stateFilePath(rootDir string) string {
return filepath.Join(rootDir, "state")
}