MCPcopy 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
721static 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

safe_directory_cbFunction · 0.85
mks_tempfile_dtFunction · 0.85
prepare_packFunction · 0.85
relative_urlFunction · 0.85
clear_midx_file_extFunction · 0.85
pack_copy_priorityFunction · 0.85
add_pack_to_midxFunction · 0.85
is_root_refFunction · 0.85
is_executableFunction · 0.85
is_msys2_shFunction · 0.85
loose_fill_ref_dirFunction · 0.85

Calls 1

strip_suffixFunction · 0.85

Tested by

no test coverage detected