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

Function fs___FileInfo__set_mtime

r/src/filesystem.cpp:106–110  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

104
105// [[arrow::export]]
106void fs___FileInfo__set_mtime(const std::shared_ptr<fs::FileInfo>& x, SEXP time) {
107 auto nanosecs =
108 std::chrono::nanoseconds(static_cast<int64_t>(REAL(time)[0] * 1000000000));
109 x->set_mtime(fs::TimePoint(nanosecs));
110}
111
112// Selector
113

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected