Files
antidrift/internal/enforce/guard_other.go
T

13 lines
279 B
Go

//go:build !linux && !windows
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 }