Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/mesos
/ operator()
Method
operator()
src/common/protobuf_utils.cpp:846–851 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
844
struct Stripper
845
{
846
void operator()(Resource& resource)
847
{
848
if (resource.has_allocation_info()) {
849
resource.clear_allocation_info();
850
}
851
}
852
853
void operator()(RepeatedPtrField<Resource>* resources)
854
{
Callers
nothing calls this directly
Calls
1
foreach
Function · 0.70
Tested by
no test coverage detected