utils

package
v0.75.8 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: AGPL-3.0 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 added in v0.68.0

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