MCPcopy Create free account
hub / github.com/git/git / jw_object_bool

Function jw_object_bool

json-writer.c:188–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void jw_object_bool(struct json_writer *jw, const char *key, int value)
189{
190 if (value)
191 jw_object_true(jw, key);
192 else
193 jw_object_false(jw, key);
194}
195
196void jw_object_null(struct json_writer *jw, const char *key)
197{

Callers 2

trace2_fetch_infoFunction · 0.85
fn_child_start_flFunction · 0.85

Calls 2

jw_object_trueFunction · 0.85
jw_object_falseFunction · 0.85

Tested by

no test coverage detected