[[arrow::export]]
| 258 | |
| 259 | // [[arrow::export]] |
| 260 | cpp11::writable::list fs___FileSystemFromUri(const std::string& path) { |
| 261 | using cpp11::literals::operator""_nm; |
| 262 | |
| 263 | std::string out_path; |
| 264 | auto io_context = MainRThread::GetInstance().CancellableIOContext(); |
| 265 | return cpp11::writable::list({"fs"_nm = cpp11::to_r6(ValueOrStop( |
| 266 | fs::FileSystemFromUri(path, io_context, &out_path))), |
| 267 | "path"_nm = out_path}); |
| 268 | } |
| 269 | |
| 270 | // [[arrow::export]] |
| 271 | void fs___CopyFiles(const std::shared_ptr<fs::FileSystem>& source_fs, |
no test coverage detected