Documentation ¶
Index ¶
- func GetElk(filePath string, isGlobal bool) (*ox.Elk, error)
- func IsPathADir(path string) (bool, error)
- func IsPathAFile(path string) (bool, error)
- func IsPathExist(path string) bool
- func PrintError(err error)
- func RemoveDetachedFlag(args []string) []string
- func SetElk(elk *ox.Elk, filePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPathADir ¶
IsPathADir returns a bool depending if a path is a dir and an error if the file do not exist
func IsPathAFile ¶
IsPathAFile returns a bool depending if a path is a file and an error if the file do not exist
func IsPathExist ¶
IsFileExist returns a bool depending if a file exist or not
func RemoveDetachedFlag ¶
RemoveDetachedFlag returns a command without the detached flag
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.