MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / FileInfo

Method FileInfo

src/attributes.cpp:56–60  ·  view source on GitHub ↗

create from R list

Source from the content-addressed store, hash-verified

54
55 // create from R list
56 explicit FileInfo(const List& fileInfo) { // #nocov start
57 path_ = as<std::string>(fileInfo["path"]);
58 exists_ = as<bool>(fileInfo["exists"]);
59 lastModified_ = as<double>(fileInfo["lastModified"]);
60 } // #nocov end
61
62 // convert to R list
63 List toList() const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected