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

Method GetPathInfo

cpp/src/arrow/filesystem/hdfs.cc:308–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306 }
307
308 bool GetPathInfo(const std::string& path, io::HdfsPathInfo* info) {
309 return client_->GetPathInfo(path, info).ok();
310 }
311
312 TimePoint ToTimePoint(int secs) {
313 std::chrono::nanoseconds ns_count(static_cast<int64_t>(secs) * 1000000000);

Callers 2

GetFileInfoMethod · 0.45
CheckForDirectoryMethod · 0.45

Calls 1

okMethod · 0.45

Tested by

no test coverage detected