MCPcopy Create free account
hub / github.com/apache/arrow / GetTestResourcePath

Function GetTestResourcePath

cpp/src/arrow/testing/util.cc:124–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124Result<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.
133std::optional<std::string> GetTestTimezoneDatabaseRoot() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected