Files
antidrift/internal/enforce/guard_other.go
T
2026-06-01 12:35:54 -04:00

13 lines
267 B
Go

//go:build !linux
package enforce
import "context"
// NewGuard returns a no-op guard on platforms without the X11 adapter.
func NewGuard() Guard { return noopGuard{} }
type noopGuard struct{}
func (noopGuard) MinimizeActive(context.Context) error { return nil }