From e245e22875d1e8d5632b7fb4e474e0ec2088d1ba Mon Sep 17 00:00:00 2001 From: asvvvad <36175183+asvvvad@users.noreply.github.com> Date: Sat, 16 May 2020 21:46:05 +0100 Subject: [PATCH] os: make exists_in_system_path function public --- vlib/os/os.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/os/os.v b/vlib/os/os.v index cc203c1b95..44d79ed9fb 100644 --- a/vlib/os/os.v +++ b/vlib/os/os.v @@ -947,7 +947,7 @@ pub fn find_abs_path_of_executable(exepath string) ?string { } // exists_in_system_path returns true if prog exists in the system's path -fn exists_in_system_path(prog string) bool { +pub fn exists_in_system_path(prog string) bool { os.find_abs_path_of_executable(prog) or { return false }