aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/builder.go
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-09-04 01:20:12 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-09-04 01:20:12 +0900
commitd8f76f3b2594db4687c0203c4f2be8d3e4ef7740 (patch)
treeb1d8bfb5250d71094e397f8afa87710de1f1ca2f /internal/app/builder.go
parent7e6eb82195c650bc34829e5cca2d2296e78c0707 (diff)
rename to fortify and restructure
More sandbox features will be added and this will no longer track ego's features and behaviour. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'internal/app/builder.go')
-rw-r--r--internal/app/builder.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/internal/app/builder.go b/internal/app/builder.go
new file mode 100644
index 00000000..2bce43b4
--- /dev/null
+++ b/internal/app/builder.go
@@ -0,0 +1,13 @@
+package app
+
+func (a *App) Command() []string {
+ return a.command
+}
+
+func (a *App) UID() int {
+ return a.uid
+}
+
+func (a *App) AppendEnv(k, v string) {
+ a.env = append(a.env, k+"="+v)
+}