cihelper

package
v0.0.0-...-c2f0c6c Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertEnvMapToStringSlice

func ConvertEnvMapToStringSlice(env map[string]string) []string

func GetHostFromGitRemote

func GetHostFromGitRemote(input string) (string, error)

func IsCIEnvironment

func IsCIEnvironment() (val bool)

IsCIEnvironment checks if this process in running as part of a CI process

func IsExecutableInPath

func IsExecutableInPath(executable string) bool

IsExecutableInPath checks if a executable is available in PATH

func IsInteractiveTerminal

func IsInteractiveTerminal() bool

IsInteractiveTerminal checks if the current session is/supports interactive

func IsWindowsTerminal

func IsWindowsTerminal() bool

IsWindowsTerminal checks if the current execution context is the new windows terminal

func ToEnvName

func ToEnvName(input string) string

func ToUnixPath

func ToUnixPath(path string) string

ToUnixPath turns a windows path into a unix path

func ToUnixPathArgs

func ToUnixPathArgs(data string) string

ToUnixPathArgs checks each argument and turns it into a unix path if needed

Types

This section is empty.

Jump to

Keyboard shortcuts

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