aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/export_linux_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-28 01:07:51 +0900
committerOphestra <cat@gensokyo.uk>2025-08-28 01:07:51 +0900
commitb14690aa77b3d5f86c4d1b1965675d6d82789e32 (patch)
tree5765f705fd69dae7a65a0666451ac71a729a6aa8 /internal/app/export_linux_test.go
parentd0b6852cd7db2bb1214c3267719d3ac108c0a53e (diff)
internal/app: remove seal interface
This further cleans up the package for the restructure. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/export_linux_test.go')
-rw-r--r--internal/app/export_linux_test.go23
1 files changed, 0 insertions, 23 deletions
diff --git a/internal/app/export_linux_test.go b/internal/app/export_linux_test.go
deleted file mode 100644
index f7af527f..00000000
--- a/internal/app/export_linux_test.go
+++ /dev/null
@@ -1,23 +0,0 @@
-package app
-
-import (
- "hakurei.app/container"
- "hakurei.app/internal/app/state"
- "hakurei.app/internal/sys"
- "hakurei.app/system"
-)
-
-func NewWithID(id state.ID, os sys.State) *App {
- a := new(App)
- a.id = newID(&id)
- a.sys = os
- return a
-}
-
-func AppIParams(a *App, sa SealedApp) (*system.I, *container.Params) {
- seal := sa.(*outcome)
- if a.outcome != seal || a.id != seal.id {
- panic("broken app/outcome link")
- }
- return seal.sys, seal.container
-}