All checks were successful
Test / Create distribution (push) Successful in 33s
Test / Sandbox (push) Successful in 2m7s
Test / Hpkg (push) Successful in 3m54s
Test / Hakurei (race detector) (push) Successful in 5m18s
Test / Sandbox (race detector) (push) Successful in 2m10s
Test / Hakurei (push) Successful in 2m13s
Test / Flake checks (push) Successful in 1m33s
This change also moves pd behaviour to cmd/hakurei, as this does not belong in the hst API. Signed-off-by: Ophestra <cat@gensokyo.uk>
27 lines
1.4 KiB
Go
27 lines
1.4 KiB
Go
package app
|
|
|
|
import (
|
|
"os"
|
|
"os/exec"
|
|
|
|
"hakurei.app/container"
|
|
)
|
|
|
|
type panicDispatcher struct{}
|
|
|
|
func (panicDispatcher) new(func(k syscallDispatcher)) { panic("unreachable") }
|
|
func (panicDispatcher) getuid() int { panic("unreachable") }
|
|
func (panicDispatcher) getgid() int { panic("unreachable") }
|
|
func (panicDispatcher) lookupEnv(string) (string, bool) { panic("unreachable") }
|
|
func (panicDispatcher) stat(string) (os.FileInfo, error) { panic("unreachable") }
|
|
func (panicDispatcher) open(string) (osFile, error) { panic("unreachable") }
|
|
func (panicDispatcher) readdir(string) ([]os.DirEntry, error) { panic("unreachable") }
|
|
func (panicDispatcher) tempdir() string { panic("unreachable") }
|
|
func (panicDispatcher) evalSymlinks(string) (string, error) { panic("unreachable") }
|
|
func (panicDispatcher) lookupGroupId(string) (string, error) { panic("unreachable") }
|
|
func (panicDispatcher) cmdOutput(*exec.Cmd) ([]byte, error) { panic("unreachable") }
|
|
func (panicDispatcher) overflowUid(container.Msg) int { panic("unreachable") }
|
|
func (panicDispatcher) overflowGid(container.Msg) int { panic("unreachable") }
|
|
func (panicDispatcher) mustHsuPath() *container.Absolute { panic("unreachable") }
|
|
func (panicDispatcher) fatalf(string, ...any) { panic("unreachable") }
|