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

Function starts_with

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

namespace detail

Source from the content-addressed store, hash-verified

123}
124} // namespace detail
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); }

Callers 3

is_ftp_urlFunction · 0.85
is_github_urlFunction · 0.85
get_locale_infoFunction · 0.85

Calls 1

starts_with_helperFunction · 0.85

Tested by

no test coverage detected