use skip_prefix to avoid magic numbers
[gitweb.git] / Documentation / technical / api-strbuf.txt
index 50690186d3949de7168e579b0f7a54d6cb0dd8e5..077a7096a4ba3c47a0cbc8981abdde1b7b35d924 100644 (file)
@@ -134,6 +134,11 @@ Functions
 
        Strip whitespace from the beginning of a string.
 
+`strbuf_reencode`::
+
+       Replace the contents of the strbuf with a reencoded form.  Returns -1
+       on error, 0 on success.
+
 `strbuf_tolower`::
 
        Lowercase each character in the buffer using `tolower`.