MCPcopy Index your code
hub / github.com/git/git / strbuf_rtrim

Function strbuf_rtrim

strbuf.c:123–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123void strbuf_rtrim(struct strbuf *sb)
124{
125 while (sb->len > 0 && isspace((unsigned char)sb->buf[sb->len - 1]))
126 sb->len--;
127 sb->buf[sb->len] = '\0';
128}
129
130void strbuf_trim_trailing_dir_sep(struct strbuf *sb)
131{

Callers 15

grab_describe_valuesFunction · 0.85
curl_dump_headerFunction · 0.85
http_fetch_refFunction · 0.85
fetch_symrefFunction · 0.85
get_linked_worktreeFunction · 0.85
repair_worktree_at_pathFunction · 0.85
show_date_normalFunction · 0.85
format_commit_oneFunction · 0.85
pretty_print_commitFunction · 0.85
read_remotes_fileFunction · 0.85
read_lock_pidFunction · 0.85

Calls

no outgoing calls

Tested by 1

do_sendbytesFunction · 0.68