Add new functions to git_buf for: * initializing a buffer from a string * joining one or more strings onto a buffer with separators * swapping two buffers in place * extracting data from a git_buf (leaving it empty) Also, make git_buf_free leave a git_buf back in its initted state, and slightly tweak buffer allocation sizes and thresholds. Finally, port unit tests to clay and extend with lots of new tests for the various git_buf functions.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
buf | Loading commit data... | |
config | Loading commit data... | |
core | Loading commit data... | |
index | Loading commit data... | |
network | Loading commit data... | |
object | Loading commit data... | |
status | Loading commit data... | |
README.md | Loading commit data... | |
clay | Loading commit data... | |
clay.h | Loading commit data... | |
clay_libgit2.h | Loading commit data... | |
clay_main.c | Loading commit data... |