Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arvidn/libtorrent
/ ltrim
Function
ltrim
src/string_util.cpp:393–397 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
391
}
392
393
void ltrim(std::string& s)
394
{
395
while (!s.empty() && is_space(s.front()))
396
s.erase(s.begin());
397
}
398
399
std::string format_host_for_connect(std::string host, unsigned short const port)
400
{
Callers
1
parse_torrent_file
Method · 0.85
Calls
5
is_space
Function · 0.85
front
Method · 0.80
empty
Method · 0.45
erase
Method · 0.45
begin
Method · 0.45
Tested by
no test coverage detected