Documentation ¶
Index ¶
- Variables
- func AddGroup(parent *cobra.Command, title string, cmds ...*cobra.Command)
- func CanonicalizePaths(paths ...*string) error
- func CreateFolder(path string) error
- func IsFileAudio(filepath string) (bool, error)
- func IsFileAudioOrVideo(filepath string) (isAudio, isVideo bool, err error)
- func IsFileImage(filepath string) (bool, error)
- func IsFileVideo(filepath string) (bool, error)
- func PathsToMounts(paths ...string) (mounts map[string]string)
- func ReadFileIntoJSON(path string, jsonStruct any) error
- type Factory
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DockerImage string
)
Functions ¶
func CanonicalizePaths ¶
func CreateFolder ¶
CreateFolder Checks if folder exists and if it doesn't it creates it.
func IsFileAudio ¶
func IsFileAudioOrVideo ¶
func IsFileImage ¶
func IsFileVideo ¶
func PathsToMounts ¶
PathsToMounts adds active directory, prepares dirs for docker volume binding
func ReadFileIntoJSON ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.