helper

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPrefix added in v1.8.2

func BuildPrefix(app string) string

func DownloadFile

func DownloadFile(url string, fileName string) (int64, error)

DownloadFile downloads a file from a URL

func ExtractFromRequest

func ExtractFromRequest(url string, regex string, apiKey string) (*version.Version, error)

ExtractFromRequest will return extracted text from a page at a URL

func FileOrDirExists

func FileOrDirExists(filename string) bool

FileOrDirExists returns true if a file/directory is valid AND exists

func IsDirectory

func IsDirectory(path string) bool
func IsSymlink(path string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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