refactor: Sandbox for separation of boundaries

This commit is contained in:
Abhisek Datta
2026-01-08 14:11:10 +05:30
parent aa2a6cc214
commit b92ba00cfa
17 changed files with 197 additions and 194 deletions
+15
View File
@@ -0,0 +1,15 @@
//go:build !darwin && !linux && !windows
// +build !darwin,!linux,!windows
package platform
import (
"errors"
"github.com/safedep/pmg/sandbox"
)
// NewSandbox returns an error on unsupported platforms.
func NewSandbox() (sandbox.Sandbox, error) {
return nil, errors.New("sandbox not supported on this platform")
}