]> git.ipfire.org Git - thirdparty/git.git/commit
strbuf: clarify API boundary
authorCalvin Wan <calvinwan@google.com>
Tue, 6 Jun 2023 19:48:37 +0000 (19:48 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Jun 2023 20:49:35 +0000 (13:49 -0700)
commit4557779660924843a3645694e5295a71a07a7fe2
treeaf2ec760a8901a1de1f4be8dbe2bcabb75a4b386
parentfe86abd7511a9a6862d5706c6fa1d9b57a63ba09
strbuf: clarify API boundary

strbuf, as a generic and widely used structure across the codebase,
should be limited as a library to only interact with primitives. Add
documentation so future functions can appropriately be placed. Older
functions that do not follow this boundary should eventually be moved or
refactored.

Signed-off-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
strbuf.h