check for the using of runroot a map of all path will be returned if we do not use runroot, a empty map will be returned.
| 264 | // a map of all path will be returned |
| 265 | // if we do not use runroot, a empty map will be returned. |
| 266 | RunrootMapType |
| 267 | check_runroot() |
| 268 | { |
| 269 | if (runroot_file.empty()) { |
| 270 | return RunrootMapType{}; |
| 271 | } |
| 272 | |
| 273 | int len = runroot_file.size(); |
| 274 | if ((len + 1) > PATH_NAME_MAX) { |
| 275 | ink_fatal("runroot path is too big: %d, max %d\n", len, PATH_NAME_MAX - 1); |
| 276 | } |
| 277 | return runroot_map(runroot_file); |
| 278 | } |
| 279 | |
| 280 | std::string_view |
| 281 | get_runroot() |
no test coverage detected