From 44ba7a5f02b7575a706a22aac53c8ac608d18f23 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 29 Sep 2025 06:32:15 +0900 Subject: hst/enablement: move bits from system This is part of the hst API, should not be in the implementation package. Signed-off-by: Ophestra --- system/tmpfiles.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'system/tmpfiles.go') diff --git a/system/tmpfiles.go b/system/tmpfiles.go index 845b43ab..434a3aea 100644 --- a/system/tmpfiles.go +++ b/system/tmpfiles.go @@ -7,6 +7,8 @@ import ( "io" "os" "syscall" + + "hakurei.app/hst" ) // CopyFile reads up to n bytes from src and writes the resulting byte slice to payloadP. @@ -26,7 +28,7 @@ type tmpfileOp struct { buf *bytes.Buffer } -func (t *tmpfileOp) Type() Enablement { return Process } +func (t *tmpfileOp) Type() hst.Enablement { return Process } func (t *tmpfileOp) apply(sys *I) error { if t.payload == nil { -- cgit v1.3.1