utils

package
v0.0.0-...-a25484f Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func AppendToContent

func AppendToContent(filename string, data []byte) (string, error)

func BinaryExists

func BinaryExists(binaryname string) bool

func CheckExistence

func CheckExistence(flowName, flowsPath string) string

func CheckSyntax

func CheckSyntax(filename string) bool

func CleanPath

func CleanPath(raw string) string

func ExecCmd

func ExecCmd(cmd, cwd string, quiet bool) (output string, err error)

func FileExists

func FileExists(filename string) bool

func FileWithoutExtension

func FileWithoutExtension(fileNamePath string) string

func FolderExists

func FolderExists(foldername string) bool

func GetFileContent

func GetFileContent(filename string) []byte

func InitLog

func InitLog(options *libs.Options)

func IsYamlValid

func IsYamlValid(fileName, searchPath string) bool

func ListYAML

func ListYAML(filesPath string) []string

func NormalizePath

func NormalizePath(path string) string

func ReadFile

func ReadFile(filename string) []string

func Title

func Title(text string) string

func WriteFile

func WriteFile(filename, data string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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