utils

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAvailableUpdate

func CheckAvailableUpdate(currVersion string, output bool) (string, error)

func CheckIfFileExists

func CheckIfFileExists(file string) error

func DeleteEmpty

func DeleteEmpty(s []string) []string

func GetRelativeFilePathFromParentFile

func GetRelativeFilePathFromParentFile(parentFile string, file string) string

func ValidFileTypes

func ValidFileTypes(file string, fileType string) error

func ValidateFileType

func ValidateFileType(file string, fileType string) error

func WriteFile

func WriteFile(b []byte, file 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