Module util

Source
Expand description

Utility functions.

Structs§

ExitCode
Represents the code to exit the process with.

Functions§

get_from_path
Returns a path for a given file, searching through PATH to find it.
get_sh
Returns the path to a shell suitable for running hooks.

Type Aliases§

EyreExitOr
Encapsulate both an eyre::Result<T> and a possible subcommand exit code.