os: make exists_in_system_path function public

pull/4923/head
asvvvad 2020-05-16 21:46:05 +01:00 committed by GitHub
parent 0845b2cfbe
commit e245e22875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}