MCPcopy Create free account
hub / github.com/apache/mesos / getSandboxPath

Function getSandboxPath

src/slave/containerizer/mesos/paths.cpp:475–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473
474
475string getSandboxPath(
476 const string& rootSandboxPath,
477 const ContainerID& containerId)
478{
479 return containerId.has_parent()
480 ? path::join(
481 getSandboxPath(rootSandboxPath, containerId.parent()),
482 "containers",
483 containerId.value())
484 : rootSandboxPath;
485}
486
487
488Try<ContainerID> parseSandboxPath(

Callers 7

TEST_FFunction · 0.85
TEST_FFunction · 0.85
foreachFunction · 0.85
launchMethod · 0.85
______destroyMethod · 0.85
removeMethod · 0.85
foreachFunction · 0.85

Calls 2

joinFunction · 0.50
valueMethod · 0.45

Tested by 2

TEST_FFunction · 0.68
TEST_FFunction · 0.68