Documentation ¶
Index ¶
- Constants
- func CompileAndRunRegex(regex string, base string, shouldMatch bool) bool
- func SubstituteEnvVar(arg string, env map[string]string) string
- func SubstituteEnvVars(args []string, env map[string]string) []string
- func UserConfirmation(message string, force bool) bool
- func ValueInList(target string, list []string) bool
Constants ¶
View Source
const ( NoopCommand string = "NOOP_COMMAND_DO_NOT_RUN" DebianRoot string = "/usr/share/doc" LicenseFile string = "copyright" )
Variables ¶
This section is empty.
Functions ¶
func SubstituteEnvVar ¶ added in v1.2.0
func SubstituteEnvVars ¶ added in v1.2.0
func UserConfirmation ¶
adapted from https://gist.github.com/albrow/5882501
func ValueInList ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.