git_buf.ptr_

The buffer contents.

ptr_ points to the start of the allocated memory. If it is NULL, then the git_buf is considered empty and libgit2 will feel free to overwrite it with new data.

struct git_buf
char* ptr_;

Meta