diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-07 20:06:26 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-07 20:57:58 +0900 |
| commit | 0e6c1a50260de141c50bb50fd3f2b2bcf9a3fe64 (patch) | |
| tree | dfe9c40ceb8c1be8d2728a2db9017bffef174d3d /internal/app/spruntime.go | |
| parent | d23b4dc9e64d3f00e746c65f3038a1a6de44b8f5 (diff) | |
container/check: move absolute pathname
This allows use of absolute pathname values without importing container.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/spruntime.go')
| -rw-r--r-- | internal/app/spruntime.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/app/spruntime.go b/internal/app/spruntime.go index c2e5518d..05597181 100644 --- a/internal/app/spruntime.go +++ b/internal/app/spruntime.go @@ -2,6 +2,7 @@ package app import ( "hakurei.app/container" + "hakurei.app/container/check" "hakurei.app/hst" "hakurei.app/system" "hakurei.app/system/acl" @@ -37,7 +38,7 @@ func (s spRuntimeOp) toContainer(state *outcomeStateParams) error { return nil } -func (s spRuntimeOp) commonPaths(state *outcomeState) (runtimeDir, runtimeDirInst *container.Absolute) { +func (s spRuntimeOp) commonPaths(state *outcomeState) (runtimeDir, runtimeDirInst *check.Absolute) { runtimeDir = state.sc.SharePath.Append("runtime") runtimeDirInst = runtimeDir.Append(state.identity.String()) return |
