diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-09-29 06:32:15 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-09-29 06:34:29 +0900 |
| commit | 44ba7a5f02b7575a706a22aac53c8ac608d18f23 (patch) | |
| tree | c08890b09a42c38bdf24b976421704ce83a74fad /system/tmpfiles.go | |
| parent | dc467493d8a1461ea321ccf5ca3a2b037f880088 (diff) | |
hst/enablement: move bits from system
This is part of the hst API, should not be in the implementation package.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'system/tmpfiles.go')
| -rw-r--r-- | system/tmpfiles.go | 4 |
1 files changed, 3 insertions, 1 deletions
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 { |
