Documentation ¶
Index ¶
- func GetDirectoryNameFromPath(path string) string
- func GetEnvironmentFrom(env []string) map[string]string
- func GetHostFromURL(addr string) string
- func GetMachineEnvironment() map[string]string
- func GetWorkingDirectory() string
- func ProcessIgnoreFiles(files []string) *ignore.GitIgnore
- type Normalizer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDirectoryNameFromPath ¶
GetDirectoryNameFromPath gets the directory name from a path
func GetEnvironmentFrom ¶
GetEnvironmentFrom returns a map with all environment variables contained in env
func GetHostFromURL ¶
GetHostFromURL gets the host from a url
func GetMachineEnvironment ¶
GetMachineEnvironment returns a map with all environment variables set on the machine
func GetWorkingDirectory ¶
func GetWorkingDirectory() string
GetWorkingDirectory returns the current working directory
func ProcessIgnoreFiles ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.