18 lines
295 B
Go
18 lines
295 B
Go
|
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")
|
||
|
}
|