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/sptmpdir.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/sptmpdir.go')
| -rw-r--r-- | internal/app/sptmpdir.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/app/sptmpdir.go b/internal/app/sptmpdir.go index 00680ffb..0e5cfe9f 100644 --- a/internal/app/sptmpdir.go +++ b/internal/app/sptmpdir.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" @@ -26,7 +27,7 @@ func (s spTmpdirOp) toContainer(state *outcomeStateParams) error { return nil } -func (s spTmpdirOp) commonPaths(state *outcomeState) (tmpdir, tmpdirInst *container.Absolute) { +func (s spTmpdirOp) commonPaths(state *outcomeState) (tmpdir, tmpdirInst *check.Absolute) { tmpdir = state.sc.SharePath.Append("tmpdir") tmpdirInst = tmpdir.Append(state.identity.String()) return |
