diff options
author | Lucas Seiki Oshiro <lucasseikioshiro@gmail.com> | 2025-05-15 22:01:58 -0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-05-16 09:33:06 -0700 |
commit | fba60a4841ce2185200e82cdb80428e9819233f8 (patch) | |
tree | 12f314810ec764293c7c29c5d46fd82277597df9 /json-writer.c | |
parent | cb96e1697ad6e54d11fc920c95f82977f8e438f8 (diff) |
json-writer: add docstrings to jw_* functions
Add a docstring for each function that manipulates json_writers.
Helped-by: Junio C Hamano <gitster@pobox.com>
Helped-by: Patrick Steinhardt <ps@pks.im>
Helped-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Lucas Seiki Oshiro <lucasseikioshiro@gmail.com>
Acked-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'json-writer.c')
-rw-r--r-- | json-writer.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/json-writer.c b/json-writer.c index 8c5187e9fd..34577dc25f 100644 --- a/json-writer.c +++ b/json-writer.c @@ -268,10 +268,6 @@ static void append_sub_jw(struct json_writer *jw, strbuf_addbuf(&jw->json, &value->json); } -/* - * Append existing (properly terminated) JSON sub-data (object or array) - * as-is onto the given JSON data. - */ void jw_object_sub_jw(struct json_writer *jw, const char *key, const struct json_writer *value) { |