vfs: move out of container
Some checks failed
Test / Flake checks (push) Has been cancelled
Test / Create distribution (push) Has started running
Test / Hakurei (push) Has started running
Test / Hakurei (race detector) (push) Has been cancelled
Test / ShareFS (push) Has been cancelled
Test / Sandbox (race detector) (push) Has been cancelled
Test / Sandbox (push) Has been cancelled

This package is not container-specific.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-03-17 15:16:46 +09:00
parent 0a12d456ce
commit 39b15ae12c
13 changed files with 10 additions and 10 deletions

View File

@@ -24,11 +24,11 @@ import (
"hakurei.app/container/fhs" "hakurei.app/container/fhs"
"hakurei.app/container/seccomp" "hakurei.app/container/seccomp"
"hakurei.app/container/std" "hakurei.app/container/std"
"hakurei.app/container/vfs"
"hakurei.app/ext" "hakurei.app/ext"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/ldd" "hakurei.app/ldd"
"hakurei.app/message" "hakurei.app/message"
"hakurei.app/vfs"
) )
// Note: this package requires cgo, which is unavailable in the Go playground. // Note: this package requires cgo, which is unavailable in the Go playground.

View File

@@ -6,8 +6,8 @@ import (
"syscall" "syscall"
"hakurei.app/container/check" "hakurei.app/container/check"
"hakurei.app/container/vfs"
"hakurei.app/message" "hakurei.app/message"
"hakurei.app/vfs"
) )
// messageFromError returns a printable error message for a supported concrete type. // messageFromError returns a printable error message for a supported concrete type.

View File

@@ -10,7 +10,7 @@ import (
"hakurei.app/container/check" "hakurei.app/container/check"
"hakurei.app/container/stub" "hakurei.app/container/stub"
"hakurei.app/container/vfs" "hakurei.app/vfs"
) )
func TestMessageFromError(t *testing.T) { func TestMessageFromError(t *testing.T) {

View File

@@ -6,8 +6,8 @@ import (
"os" "os"
. "syscall" . "syscall"
"hakurei.app/container/vfs"
"hakurei.app/message" "hakurei.app/message"
"hakurei.app/vfs"
) )
/* /*

View File

@@ -6,7 +6,7 @@ import (
"testing" "testing"
"hakurei.app/container/stub" "hakurei.app/container/stub"
"hakurei.app/container/vfs" "hakurei.app/vfs"
) )
func TestBindMount(t *testing.T) { func TestBindMount(t *testing.T) {

View File

@@ -10,7 +10,7 @@ import (
"syscall" "syscall"
"hakurei.app/container/fhs" "hakurei.app/container/fhs"
"hakurei.app/container/vfs" "hakurei.app/vfs"
) )
const ( const (

View File

@@ -11,7 +11,7 @@ import (
"unsafe" "unsafe"
"hakurei.app/container/check" "hakurei.app/container/check"
"hakurei.app/container/vfs" "hakurei.app/vfs"
) )
func TestToSysroot(t *testing.T) { func TestToSysroot(t *testing.T) {

View File

@@ -3,7 +3,7 @@ package vfs_test
import ( import (
"testing" "testing"
"hakurei.app/container/vfs" "hakurei.app/vfs"
) )
func TestUnmangle(t *testing.T) { func TestUnmangle(t *testing.T) {

View File

@@ -13,7 +13,7 @@ import (
"syscall" "syscall"
"testing" "testing"
"hakurei.app/container/vfs" "hakurei.app/vfs"
) )
func TestDecoderError(t *testing.T) { func TestDecoderError(t *testing.T) {

View File

@@ -6,7 +6,7 @@ import (
"strings" "strings"
"testing" "testing"
"hakurei.app/container/vfs" "hakurei.app/vfs"
) )
func TestUnfold(t *testing.T) { func TestUnfold(t *testing.T) {