utils

package
v0.0.0-...-589da53 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsPath

func AbsPath(p string) (string, error)

func EnsureBinary

func EnsureBinary(path string) error

func ExecuteBinary

func ExecuteBinary(binaryPath string, args []string, v interface{}) ([]byte, error)

func PathExists

func PathExists(path string) (bool, error)

func ToLookupMap

func ToLookupMap[T comparable](slice []T) map[T]struct{}

func UnzipSource

func UnzipSource(source, destination string) error

UnzipSource iterates over zip files inside the archive and unzips each of them to the destination.

Types

This section is empty.

Jump to

Keyboard shortcuts

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