path_derive_precommit_exec_impl: Find an executable

Description Usage Arguments

View source: R/exec.R

Description

Evaluates if the pre-commit executable exists in one or more candidate locations. If so, return one, else return the empty string

Usage

1

Arguments

candidate

A directory to check for the pre-commit executable. The directory may also not exist.


precommit documentation built on Oct. 23, 2020, 6:18 p.m.