MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / has_value_from_env

Method has_value_from_env

smallthinker/common/arg.cpp:106–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106bool common_arg::has_value_from_env() {
107 return env != nullptr && std::getenv(env);
108}
109
110static std::vector<std::string> break_str_into_lines(std::string input, size_t max_char_per_line) {
111 std::vector<std::string> result;

Callers 1

common_params_parse_exFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected