Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bloomberg/pystack
/ limitOutput
Function
limitOutput
src/pystack/_pystack/pytypes.cpp:37–44 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
35
36
template<typename T>
37
std::string
38
limitOutput(T&& arg, ssize_t max_size)
39
{
40
if (max_size - arg.size() > 0) {
41
return std::forward<T>(arg);
42
}
43
return ELLIPSIS;
44
}
45
46
std::string
47
formatSequence(
Callers
1
toString
Method · 0.85
Calls
1
size
Method · 0.80
Tested by
no test coverage detected