| 473 | |
| 474 | |
| 475 | string 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 | |
| 488 | Try<ContainerID> parseSandboxPath( |