Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ModOrganizer2/modorganizer
/ pad_right
Function
pad_right
src/commandline.cpp:18–24 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
using namespace MOBase;
17
18
std::string pad_right(std::string s, std::size_t n, char c =
' '
)
19
{
20
if (s.size() < n)
21
s.append(n - s.size(), c);
22
23
return s;
24
}
25
26
// formats the list of pairs in two columns
27
//
Callers
1
table
Function · 0.85
Calls
1
size
Method · 0.45
Tested by
no test coverage detected