binpaths

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package binpaths provides utilities for resolving external binary paths from environment variables, config files, or default locations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureExecutable

func EnsureExecutable(path string) error

EnsureExecutable ensures the binary at path is executable

func Exists

func Exists(path string) bool

Exists checks if a binary exists at the given path

func GetBinDir

func GetBinDir() string

GetBinDir returns the default binary installation directory

func GetEVMPath

func GetEVMPath() string

GetEVMPath returns the path to the EVM plugin binary. Priority: ENV > config > default install location

func GetNetrunnerPath

func GetNetrunnerPath() string

GetNetrunnerPath returns the path to the netrunner binary. Priority: ENV > config > PATH > default install location

func GetNodePath

func GetNodePath() string

GetNodePath returns the path to the luxd binary. Priority: ENV > config > PATH > default install location

func GetPluginsDir

func GetPluginsDir() string

GetPluginsDir returns the path to the plugins directory. Priority: ENV > config > default location

Types

This section is empty.

Jump to

Keyboard shortcuts

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