diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2021-08-29 13:10:44 -0400 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-08-29 13:13:03 -0400 |
| commit | d2316d574694a1943499553c535fa3830c198380 (patch) | |
| tree | cb80dda2b8b42c00324f7ab40cdc6162a80181ef /include/git2/clone.h | |
| parent | 45489a119467964b641515735b216a1eff12dd6d (diff) | |
| download | libgit2-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/clone.h')
0 files changed, 0 insertions, 0 deletions
