MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / get_args

Method get_args

subprojects/llama.cpp/common/arg.cpp:213–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213std::vector<std::string> common_arg::get_args() const {
214 std::vector<std::string> result;
215 for (const auto & arg : args) {
216 result.push_back(std::string(arg));
217 }
218 for (const auto & arg : args_neg) {
219 result.push_back(std::string(arg));
220 }
221 return result;
222}
223
224std::vector<std::string> common_arg::get_env() const {
225 std::vector<std::string> result;

Callers 4

mainFunction · 0.80
get_map_key_optFunction · 0.80
value.cppFile · 0.80

Calls 2

stringClass · 0.85
push_backMethod · 0.45

Tested by 1

mainFunction · 0.64