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/link.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/link.go') diff --git a/system/link.go b/system/link.go index dcd742c2..a13adaae 100644 --- a/system/link.go +++ b/system/link.go @@ -3,17 +3,17 @@ package system import ( "fmt" - "hakurei.app/container" + "hakurei.app/container/check" "hakurei.app/hst" ) // Link calls LinkFileType with the [Process] criteria. -func (sys *I) Link(oldname, newname *container.Absolute) *I { +func (sys *I) Link(oldname, newname *check.Absolute) *I { return sys.LinkFileType(Process, oldname, newname) } // LinkFileType maintains a hardlink until its [Enablement] is no longer satisfied. -func (sys *I) LinkFileType(et hst.Enablement, oldname, newname *container.Absolute) *I { +func (sys *I) LinkFileType(et hst.Enablement, oldname, newname *check.Absolute) *I { sys.ops = append(sys.ops, &hardlinkOp{et, newname.String(), oldname.String()}) return sys } -- cgit v1.3.1