path_derive_precommit_exec_impl: Find an executable
Description
Evaluates if the pre-commit executable exists in one or more candidate
locations. If so, return one, else return the empty string
Usage
path_derive_precommit_exec_impl(candidate)
Arguments
- candidate
A directory to check for the pre-commit executable. The
directory may also not exist.