From 12660587d91f8f1b063a3f94ad14b54456dce214 Mon Sep 17 00:00:00 2001 From: ewy Date: Sat, 16 May 2026 23:14:31 +0200 Subject: add methods for overriding paths during tests --- paths/paths.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'paths/paths.go') 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 -- cgit v1.3.1