MCPcopy Create free account
hub / github.com/GNOME/gjs / eval_script

Function eval_script

test/gjs-test-coverage.cpp:176–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176static bool eval_script(GjsContext* gjs_context, GFile* script) {
177 Gjs::AutoChar filename{get_script_identifier(script)};
178 return gjs_context_eval_file(gjs_context, filename, nullptr, nullptr);
179}
180
181static char* eval_script_and_get_coverage_data(GjsContext* gjs_context,
182 GjsCoverage* coverage,

Calls 2

get_script_identifierFunction · 0.85
gjs_context_eval_fileFunction · 0.85

Tested by

no test coverage detected