summaryrefslogtreecommitdiff
path: root/paths/paths.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-05-16 23:14:31 +0200
committerewy <ewy0@protonmail.com>2026-05-16 23:14:31 +0200
commit12660587d91f8f1b063a3f94ad14b54456dce214 (patch)
tree02b84418ce0c28ca5bed6e48c25c3b257bd20fa4 /paths/paths.go
parent00379affbb5f8483fcda9bcf2291106fac574110 (diff)
add methods for overriding paths during tests
Diffstat (limited to 'paths/paths.go')
-rw-r--r--paths/paths.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/paths/paths.go b/paths/paths.go
index 9f27385..cc0c878 100644
--- a/paths/paths.go
+++ b/paths/paths.go
@@ -7,7 +7,13 @@ import (
"strings"
)
-var Home, This, Cache, Config, Ifs string
+var (
+ Ifs string
+ Config string
+ Cache string
+ This string
+ Home string
+)
type paths struct {
Initialized bool