From 6d015a949e27f20c86409c7d78053f0b0493f165 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 17 Mar 2026 15:35:58 +0900 Subject: check: move from container This package is not container specific, and widely used across the project. Signed-off-by: Ophestra --- hst/config.go | 2 +- hst/container.go | 2 +- hst/fs.go | 2 +- hst/fs_test.go | 2 +- hst/fsbind.go | 2 +- hst/fsdaemon.go | 2 +- hst/fsephemeral.go | 2 +- hst/fslink.go | 2 +- hst/fsoverlay.go | 2 +- hst/fsoverlay_test.go | 2 +- hst/hst.go | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) (limited to 'hst') diff --git a/hst/config.go b/hst/config.go index da68ac26..6b7e26f4 100644 --- a/hst/config.go +++ b/hst/config.go @@ -5,7 +5,7 @@ import ( "strconv" "strings" - "hakurei.app/container/check" + "hakurei.app/check" "hakurei.app/ext" ) diff --git a/hst/container.go b/hst/container.go index 8696d85b..15a5d221 100644 --- a/hst/container.go +++ b/hst/container.go @@ -6,7 +6,7 @@ import ( "syscall" "time" - "hakurei.app/container/check" + "hakurei.app/check" ) // PrivateTmp is a private writable path in a hakurei container. diff --git a/hst/fs.go b/hst/fs.go index 3f0f6017..92ca51af 100644 --- a/hst/fs.go +++ b/hst/fs.go @@ -7,7 +7,7 @@ import ( "os" "reflect" - "hakurei.app/container/check" + "hakurei.app/check" ) // FilesystemConfig is an abstract representation of a mount point. diff --git a/hst/fs_test.go b/hst/fs_test.go index fdef9bc6..94d44078 100644 --- a/hst/fs_test.go +++ b/hst/fs_test.go @@ -9,8 +9,8 @@ import ( "syscall" "testing" + "hakurei.app/check" "hakurei.app/container" - "hakurei.app/container/check" "hakurei.app/hst" ) diff --git a/hst/fsbind.go b/hst/fsbind.go index 282f9a32..ac628b99 100644 --- a/hst/fsbind.go +++ b/hst/fsbind.go @@ -4,7 +4,7 @@ import ( "encoding/gob" "strings" - "hakurei.app/container/check" + "hakurei.app/check" "hakurei.app/container/fhs" "hakurei.app/container/std" ) diff --git a/hst/fsdaemon.go b/hst/fsdaemon.go index fd3f3758..2e28de78 100644 --- a/hst/fsdaemon.go +++ b/hst/fsdaemon.go @@ -3,7 +3,7 @@ package hst import ( "encoding/gob" - "hakurei.app/container/check" + "hakurei.app/check" ) func init() { gob.Register(new(FSDaemon)) } diff --git a/hst/fsephemeral.go b/hst/fsephemeral.go index 78c4a55a..9da79003 100644 --- a/hst/fsephemeral.go +++ b/hst/fsephemeral.go @@ -5,7 +5,7 @@ import ( "os" "strings" - "hakurei.app/container/check" + "hakurei.app/check" ) func init() { gob.Register(new(FSEphemeral)) } diff --git a/hst/fslink.go b/hst/fslink.go index 57c1ffc7..77351258 100644 --- a/hst/fslink.go +++ b/hst/fslink.go @@ -4,7 +4,7 @@ import ( "encoding/gob" "path" - "hakurei.app/container/check" + "hakurei.app/check" ) func init() { gob.Register(new(FSLink)) } diff --git a/hst/fsoverlay.go b/hst/fsoverlay.go index 72df1deb..738ecf53 100644 --- a/hst/fsoverlay.go +++ b/hst/fsoverlay.go @@ -4,7 +4,7 @@ import ( "encoding/gob" "strings" - "hakurei.app/container/check" + "hakurei.app/check" ) func init() { gob.Register(new(FSOverlay)) } diff --git a/hst/fsoverlay_test.go b/hst/fsoverlay_test.go index df6ec082..f1097481 100644 --- a/hst/fsoverlay_test.go +++ b/hst/fsoverlay_test.go @@ -3,8 +3,8 @@ package hst_test import ( "testing" + "hakurei.app/check" "hakurei.app/container" - "hakurei.app/container/check" "hakurei.app/hst" ) diff --git a/hst/hst.go b/hst/hst.go index 45f1eb83..eb4ef26d 100644 --- a/hst/hst.go +++ b/hst/hst.go @@ -7,7 +7,7 @@ import ( "net" "os" - "hakurei.app/container/check" + "hakurei.app/check" "hakurei.app/container/fhs" ) -- cgit v1.3.1