From 0e6c1a50260de141c50bb50fd3f2b2bcf9a3fe64 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 7 Oct 2025 20:06:26 +0900 Subject: container/check: move absolute pathname This allows use of absolute pathname values without importing container. Signed-off-by: Ophestra --- system/tmpfiles.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system/tmpfiles.go') diff --git a/system/tmpfiles.go b/system/tmpfiles.go index 0fe61176..8d94ceee 100644 --- a/system/tmpfiles.go +++ b/system/tmpfiles.go @@ -8,12 +8,12 @@ import ( "os" "syscall" - "hakurei.app/container" + "hakurei.app/container/check" "hakurei.app/hst" ) // CopyFile reads up to n bytes from src and writes the resulting byte slice to payloadP. -func (sys *I) CopyFile(payloadP *[]byte, src *container.Absolute, cap int, n int64) *I { +func (sys *I) CopyFile(payloadP *[]byte, src *check.Absolute, cap int, n int64) *I { buf := new(bytes.Buffer) buf.Grow(cap) sys.ops = append(sys.ops, &tmpfileOp{payloadP, src.String(), n, buf}) -- cgit v1.3.1