From 82561d62b66f17c05604e87f18187bb3a91f00d2 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 2 Jul 2025 21:52:07 +0900 Subject: system: move system access packages These packages loosely belong in the "system" package and "system" provides high level wrappers for all of them. Signed-off-by: Ophestra --- system/dbus/export_test.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 system/dbus/export_test.go (limited to 'system/dbus/export_test.go') diff --git a/system/dbus/export_test.go b/system/dbus/export_test.go new file mode 100644 index 00000000..574a4a73 --- /dev/null +++ b/system/dbus/export_test.go @@ -0,0 +1,13 @@ +package dbus + +import ( + "context" + "io" +) + +// NewDirect returns a new instance of [Proxy] with its sandbox disabled. +func NewDirect(ctx context.Context, final *Final, output io.Writer) *Proxy { + p := New(ctx, final, output) + p.useSandbox = false + return p +} -- cgit v1.3.1