path_derive_precommit_exec_impl: Find an executable

View source: R/exec.R

path_derive_precommit_exec_implR Documentation

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.


precommit documentation built on Sept. 11, 2024, 7:07 p.m.