binresolve

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package binresolve locates sibling binaries that ship together. The goreleaser/Homebrew layout drops obsigna, obsigna-daemon, and the agent-receipts deprecation shim into one bin directory, so a binary that needs to invoke another (obsigna → obsigna-daemon, the shim → obsigna) resolves it beside itself before falling back to $PATH.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sibling

func Sibling(name string) (string, error)

Sibling returns the path to a binary named name, preferring one installed beside the current executable and falling back to $PATH. Resolving beside the current binary first avoids picking up an unrelated binary of the same name earlier on $PATH.

Types

This section is empty.

Jump to

Keyboard shortcuts

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