flatten_path_tree | R Documentation |
Flattens a hierarchical list of path elements into a character vector of full paths.
flatten_path_tree(path_tree, parent_path = NULL)
path_tree |
Directory tree. A nested list of named lists and character vectors. |
parent_path |
Optional parent path of |
A character vector.
Other path functions:
draw_path_tree()
,
path_mod_time()
list("root_dir" = list("subdir1",
"subdir2" = list("file1.ext"),
"file2.ext")) |>
pal::flatten_path_tree() |>
pal::cat_lines()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.