]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/technical/api-strbuf.txt
strbuf: add strbuf_reencode helper
[thirdparty/git.git] / Documentation / technical / api-strbuf.txt
index 3350d97dda2408f92dc44c1e3216facc50257a50..9d28b034ad9a35108f8069557e194992f8e36b0f 100644 (file)
@@ -125,6 +125,11 @@ Functions
 
        Strip whitespace from the end of a string.
 
+`strbuf_reencode`::
+
+       Replace the contents of the strbuf with a reencoded form.  Returns -1
+       on error, 0 on success.
+
 `strbuf_cmp`::
 
        Compare two buffers. Returns an integer less than, equal to, or greater