diff options
Diffstat (limited to 'src/fs_path.h')
-rw-r--r-- | src/fs_path.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fs_path.h b/src/fs_path.h index 9720d34ce..222c44abc 100644 --- a/src/fs_path.h +++ b/src/fs_path.h @@ -743,4 +743,10 @@ bool git_fs_path_supports_symlinks(const char *dir); */ int git_fs_path_validate_system_file_ownership(const char *path); +/** + * Search the current PATH for the given executable, returning the full + * path if it is found. + */ +int git_fs_path_find_executable(git_str *fullpath, const char *executable); + #endif |