summaryrefslogtreecommitdiff
path: root/src/win32/path_w32.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2022-01-15 20:08:10 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2022-01-15 19:33:24 -0500
commitf7fcf6c07bb5c0e104cb0ba8c70858b5cba4c846 (patch)
treeedbb0d21c05e410253a2aa87067821e8f89320e2 /src/win32/path_w32.h
parent7c804ab4f183df581b4480b85727b1c661f4dff1 (diff)
downloadlibgit2-ethomson/find_executable.tar.gz
path: introduce git_fs_path_find_executableethomson/find_executable
Provide a helper function to find an executable in the current process's PATH.
Diffstat (limited to 'src/win32/path_w32.h')
-rw-r--r--src/win32/path_w32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/win32/path_w32.h b/src/win32/path_w32.h
index 4fadf8d08..837b11ebd 100644
--- a/src/win32/path_w32.h
+++ b/src/win32/path_w32.h
@@ -86,4 +86,6 @@ size_t git_win32_path_trim_end(wchar_t *str, size_t len);
*/
size_t git_win32_path_remove_namespace(wchar_t *str, size_t len);
+int git_win32_path_find_executable(git_win32_path fullpath, wchar_t* exe);
+
#endif