Versions in this module Expand all Collapse all v0 v0.1.0 Sep 27, 2026 Changes in this version + func InjectingEnvVars() []string + type Analysis struct + Class Class + Commands []Command + HardDeny string + Installs bool + NeedsNetwork bool + Raw string + Reasons []string + Unknown bool + Unrecognised []string + func Analyze(script string, ws Workspace) Analysis + func (a Analysis) Summary() string + type BranchProtector interface + ProtectedBranches func() []string + type Class int + const Destructive + const MutatingWorkspace + const Network + const Privilege + const SafeRead + func (c Class) String() string + type Command struct + Argv []string + Class Class + Dynamic bool + Env []string + Installs bool + Network bool + Prefix []string + Program []string + Reads []string + Reason string + Unrecognised bool + Writes []string + type Workspace interface + Home func() string + IsProtected func(string) bool + IsSecretFile func(string) bool + IsTracked func(string) bool + Resolve func(string) (abs string, inside bool, err error) + Roots func() []string