diff options
author | Roland Reichwein <mail@reichwein.it> | 2024-05-10 15:09:50 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2024-05-10 15:09:50 +0200 |
commit | bfdb4e9d2cfc7890c5f194e670039fa76c391330 (patch) | |
tree | 2584a736ed6f2827c39420882555a154d7b5d570 /file.h | |
parent | 6086ec079a31276c81decdd7b5b5daaafdeb58ca (diff) |
Added tests
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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); |