aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/config.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-11 14:29:38 +0900
committerOphestra <cat@gensokyo.uk>2025-10-11 14:32:35 +0900
commitf5a597c4061b18b53e3124107c0e1434a98aedc9 (patch)
treed339acafed909f5ec30bc6344d7c76322a0b9bd1 /hst/config.go
parent8874aaf81b6d8028bd4dc3d4a1f09bf16b349085 (diff)
hst: rename /.hakurei constant
This provides disambiguation from fhs.AbsTmp. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/config.go')
-rw-r--r--hst/config.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/hst/config.go b/hst/config.go
index 9d0ef67a..08a23f07 100644
--- a/hst/config.go
+++ b/hst/config.go
@@ -8,9 +8,11 @@ import (
"hakurei.app/container/check"
)
-const Tmp = "/.hakurei"
+// PrivateTmp is a private writable path in a hakurei container.
+const PrivateTmp = "/.hakurei"
-var AbsTmp = check.MustAbs(Tmp)
+// AbsPrivateTmp is a [check.Absolute] representation of [PrivateTmp].
+var AbsPrivateTmp = check.MustAbs(PrivateTmp)
const (
// WaitDelayDefault is used when WaitDelay has its zero value.