1
0
forked from rosa/hakurei

vfs: move from container

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 e9a72490db
14 changed files with 11 additions and 11 deletions

View File

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

View File

@@ -6,8 +6,8 @@ import (
"syscall"
"hakurei.app/container/check"
"hakurei.app/container/vfs"
"hakurei.app/message"
"hakurei.app/vfs"
)
// 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/stub"
"hakurei.app/container/vfs"
"hakurei.app/vfs"
)
func TestMessageFromError(t *testing.T) {

View File

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

View File

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

View File

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

View File

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

View File

@@ -14,7 +14,7 @@ import (
"hakurei.app/container/check"
"hakurei.app/container/fhs"
"hakurei.app/container/vfs"
"hakurei.app/vfs"
)
func main() {

View File

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

View File

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

View File

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