MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / ends_with

Function ends_with

src/common/string_utils.h:127–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125inline bool starts_with(const std::string_view &target, const std::string_view &prefix) { return detail::starts_with_helper(target, prefix); }
126inline bool starts_with(const std::wstring_view &target, const std::wstring_view &prefix) { return detail::starts_with_helper(target, prefix); }
127inline bool ends_with(const std::string_view &target, const std::string_view &suffix) { return detail::ends_with_helper(target, suffix); }
128inline bool ends_with(const std::wstring_view &target, const std::wstring_view &suffix) { return detail::ends_with_helper(target, suffix); }
129
130inline std::string_view remove_prefix_equals(std::string_view target, const std::string_view &prefix) {

Callers 1

update_file_listMethod · 0.85

Calls 1

ends_with_helperFunction · 0.85

Tested by

no test coverage detected