summaryrefslogtreecommitdiffhomepage
path: root/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'file.h')
-rw-r--r--file.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/file.h b/file.h
index 80133e8..f951a27 100644
--- a/file.h
+++ b/file.h
@@ -1,6 +1,8 @@
#pragma once
#include <filesystem>
+#include <string>
+#include <vector>
extern const std::filesystem::path YMakefile;
@@ -9,3 +11,7 @@ bool is_compile_unit_source_by_extension(const std::filesystem::path& p);
// removes initial "./"
std::filesystem::path simplified_path(const std::filesystem::path& p);
+
+std::string env_value(const std::string& key);
+bool is_executable(const std::string& file);
+std::string find_executable(const std::vector<std::string>& list);