lookpath

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package lookpath provides wrapping functionality around os.exec.LookPath

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasExecutable

func HasExecutable(executable string) bool

HasExecutable returns true if the given executable is in PATH.

func NeedExecutables

func NeedExecutables(executables []string) (missing []string, err error)

NeedExecutables checks to see if the given executables are in PATH, erroring and returning the missing executables if not.

Types

This section is empty.

Jump to

Keyboard shortcuts

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