| 122 | } |
| 123 | |
| 124 | Result<std::string> GetTestResourcePath(std::string subpath) { |
| 125 | ARROW_ASSIGN_OR_RAISE(auto root, GetTestResourceRoot()); |
| 126 | if (!root.ends_with('/') && !subpath.starts_with('/')) { |
| 127 | root += '/'; |
| 128 | } |
| 129 | return root + subpath; |
| 130 | } |
| 131 | |
| 132 | // TODO(GH-48593): Remove when libc++ supports std::chrono timezones. |
| 133 | std::optional<std::string> GetTestTimezoneDatabaseRoot() { |
nothing calls this directly
no outgoing calls
no test coverage detected