From 6a2802cf309fb9758756c56ef05c9354d9cb9003 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Mon, 7 Oct 2024 14:40:35 +0900 Subject: helper: move bwrap into helper Signed-off-by: Ophestra Umiker --- bwrap/config.int.go | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 bwrap/config.int.go (limited to 'bwrap/config.int.go') diff --git a/bwrap/config.int.go b/bwrap/config.int.go deleted file mode 100644 index 27c88c36..00000000 --- a/bwrap/config.int.go +++ /dev/null @@ -1,22 +0,0 @@ -package bwrap - -const ( - UID = iota - GID - - intC -) - -var intArgs = func() (n [intC]string) { - n[UID] = "--uid" - n[GID] = "--gid" - - return -}() - -func (c *Config) intArgs() (n [intC]*int) { - n[UID] = c.UID - n[GID] = c.GID - - return -} -- cgit v1.3.1