powered by
Take a prefix and a local file path or SubTreeFileSystem and return the correct SubTreeFileSystem. A bit like file.path for arrow SubTreeFileSystems.
fix_path(path, destination, verbose = FALSE)
an arrow SubTreeFileSystem
a sub prefix of the destination
a local directory path or an arrow SubTreeFileSystem
TRUE /FALSE should the function be chatty?
temp_dir <- tempfile() dir.create(temp_dir, recursive = TRUE) fix_path("backup", temp_dir)
Run the code above in your browser using DataLab