Skip to main content

program_on_path

Function program_on_path 

Source
pub fn program_on_path(path: &OsStr) -> bool
Expand description

Whether git-lfs is an executable file in one of the directories of a PATH value.

In TS you’d write (pseudocode):

findProgram(path) !== undefined