summaryrefslogtreecommitdiff
path: root/include/git2/proxy.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-08-29 13:10:44 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2021-08-29 13:13:03 -0400
commitd2316d574694a1943499553c535fa3830c198380 (patch)
treecb80dda2b8b42c00324f7ab40cdc6162a80181ef /include/git2/proxy.h
parent45489a119467964b641515735b216a1eff12dd6d (diff)
downloadlibgit2-ethomson/buf_is_readonly.tar.gz
buf: deprecate public git_buf writing functionsethomson/buf_is_readonly
A `git_buf` is now a read-only structure as far as callers are concerned. This is a mechanism that we can return data to callers using memory that is owned by the library and can be cleaned up by callers (using `git_buf_dispose`). A `git_buf` can no longer be allocated by callers or provided to the library.
Diffstat (limited to 'include/git2/proxy.h')
0 files changed, 0 insertions, 0 deletions