Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/git/git
/ strbuf_remove
Function
strbuf_remove
strbuf.c:304–307 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
302
}
303
304
void strbuf_remove(struct strbuf *sb, size_t pos, size_t len)
305
{
306
strbuf_splice(sb, pos, len,
""
, 0);
307
}
308
309
void strbuf_add(struct strbuf *sb, const void *data, size_t len)
310
{
Callers
15
strbuf_cleanup_path
Function · 0.85
get_tree_entry_follow_symlinks
Function · 0.85
write_accept_language
Function · 0.85
url_parse
Function · 0.85
replace_encoding_header
Function · 0.85
format_sanitized_subject
Function · 0.85
get_branch
Function · 0.85
read_bundle_header_fd
Function · 0.85
read_attr_from_file
Function · 0.85
rerere_mem_getline
Function · 0.85
cleanup_space
Function · 0.85
handle_from
Function · 0.85
Calls
1
strbuf_splice
Function · 0.85
Tested by
no test coverage detected