| 289 | |
| 290 | |
| 291 | string getMountPath(const string& mountRootDir, const string& volumeId) |
| 292 | { |
| 293 | // Volume ID is percent-encoded to avoid invalid characters in the path. |
| 294 | return path::join(mountRootDir, http::encode(volumeId)); |
| 295 | } |
| 296 | |
| 297 | |
| 298 | Try<string> parseMountPath(const string& mountRootDir, const string& dir) |
no test coverage detected