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/mkdir.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/mkdir.go') diff --git a/system/mkdir.go b/system/mkdir.go index fc6a8306..f375579c 100644 --- a/system/mkdir.go +++ b/system/mkdir.go @@ -5,18 +5,18 @@ import ( "fmt" "os" - "hakurei.app/container" + "hakurei.app/container/check" "hakurei.app/hst" ) // Ensure ensures the existence of a directory. -func (sys *I) Ensure(name *container.Absolute, perm os.FileMode) *I { +func (sys *I) Ensure(name *check.Absolute, perm os.FileMode) *I { sys.ops = append(sys.ops, &mkdirOp{User, name.String(), perm, false}) return sys } // Ephemeral ensures the existence of a directory until its [Enablement] is no longer satisfied. -func (sys *I) Ephemeral(et hst.Enablement, name *container.Absolute, perm os.FileMode) *I { +func (sys *I) Ephemeral(et hst.Enablement, name *check.Absolute, perm os.FileMode) *I { sys.ops = append(sys.ops, &mkdirOp{et, name.String(), perm, true}) return sys } -- cgit v1.3.1