Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/git/git
/ strbuf_swap
Function
strbuf_swap
strbuf.h:129–132 ·
view source on GitHub ↗
* Swap the contents of two string buffers. */
Source
from the content-addressed store, hash-verified
127
* Swap the contents of two string buffers.
128
*/
129
static inline void strbuf_swap(struct strbuf *a, struct strbuf *b)
130
{
131
SWAP(*a, *b);
132
}
133
134
135
/**
Callers
15
strbuf_normalize_path
Function · 0.85
end_align_handler
Function · 0.85
if_then_else_handler
Function · 0.85
end_atom_handler
Function · 0.85
parse_pathspec_file
Function · 0.85
mks_tempfile_dt
Function · 0.85
write_archive_entry
Function · 0.85
repair_worktree_at_path
Function · 0.85
strbuf_utf8_replace
Function · 0.85
complete_action
Function · 0.85
strbuf_wrap
Function · 0.85
handle_conflict
Function · 0.85
Calls
no outgoing calls
Tested by
1
parse_pathspec_file
Function · 0.68