safety

package
v0.411.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDangerousShellCommand

func IsDangerousShellCommand(command string, additionalPatterns []string) bool

IsDangerousShellCommand reports whether a shell command matches one of the built-in dangerous patterns or any additional configured patterns.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL