Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmingHub/Sming
/ endsWith
Method
endsWith
Sming/Wiring/WString.cpp:620–624 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
618
}
619
620
bool String::endsWith(char suffix) const
621
{
622
auto len = length();
623
return len > 0 && cbuffer()[len - 1] == suffix;
624
}
625
626
bool String::endsWith(const String& suffix) const
627
{
Callers
4
execute
Method · 0.80
execute
Method · 0.80
set
Method · 0.80
getMimeType
Method · 0.80
Calls
2
cbuffer
Method · 0.80
length
Method · 0.45
Tested by
no test coverage detected