Documentation ¶
Index ¶
- func ContainsString(array []string, element string) bool
- func GetRegion(profile string) (string, error)
- func LoadFiles(root string, ignoreFile []byte) (files []string, err error)
- func ParseEnv(env []string) (map[string]string, error)
- func ProfileFromConfig(environment string) (string, error)
- func ReadIgnoreFile(dir string) ([]byte, error)
- func Sha256(b []byte) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶ added in v0.6.0
ContainsString checks if array contains string
func LoadFiles ¶ added in v0.5.0
LoadFiles return filtered map of relative to 'root' file paths; for filtering it uses shell file name pattern matching
func ParseEnv ¶ added in v0.10.0
ParseEnv accepts an `env` slice from the command-line and returns a map.
func ProfileFromConfig ¶ added in v0.10.0
ProfileFromConfig attempts to load the .profile setting from `environment`'s config.
func ReadIgnoreFile ¶ added in v0.5.0
ReadIgnoreFile reads .apexignore in `dir` when present and returns a list of patterns.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.