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

Function getContainerPath

src/csi/paths.cpp:69–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67
68
69string getContainerPath(
70 const string& rootDir,
71 const string& type,
72 const string& name,
73 const ContainerID& containerId)
74{
75 return path::join(
76 rootDir,
77 type,
78 name,
79 CONTAINERS_DIR,
80 stringify(containerId));
81}
82
83
84Try<ContainerPath> parseContainerPath(const string& rootDir, const string& dir)

Callers 2

getContainerInfoPathFunction · 0.70

Calls 2

joinFunction · 0.50
stringifyFunction · 0.50

Tested by

no test coverage detected