helper

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(from, to string) error

func EnsureOutputDirectory

func EnsureOutputDirectory(path string) error

func ExtractOsAndArchFromFileName

func ExtractOsAndArchFromFileName(fileName string) (string, string)

func FindFirstExecutableFileInDir added in v1.3.0

func FindFirstExecutableFileInDir(dir string) (string, error)

Types

type BinFile

type BinFile struct {
	Platform string
	Arch     string
	Path     string
	FileName string
}

Jump to

Keyboard shortcuts

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