Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/git/git
/ ends_with
Function
ends_with
strbuf.h:721–725 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
719
}
720
721
static inline bool ends_with(const char *str, const char *suffix)
722
{
723
size_t len;
724
return strip_suffix(str, suffix, &len);
725
}
726
727
#endif /* STRBUF_H */
Callers
15
for_each_preferred_bitmap_tip
Function · 0.85
safe_directory_cb
Function · 0.85
mks_tempfile_dt
Function · 0.85
prepare_pack
Function · 0.85
relative_url
Function · 0.85
clear_midx_file_ext
Function · 0.85
pack_copy_priority
Function · 0.85
add_pack_to_midx
Function · 0.85
is_root_ref
Function · 0.85
is_executable
Function · 0.85
is_msys2_sh
Function · 0.85
loose_fill_ref_dir
Function · 0.85
Calls
1
strip_suffix
Function · 0.85
Tested by
no test coverage detected