Module branchless::util

source ·
Expand description

Utility functions.

Structs§

  • Represents the code to exit the process with.

Functions§

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

Type Aliases§

  • Helper type alias for the common case that we want to run a computation and return eyre::Result<T>, but it’s also possible that we run a subcommand which returns an exit code that we want to propagate. See also try_exit_code.