Get children nodes, i.e. all the suddiectories in the given directory

path_children(path.chain)

Arguments

path.chain

object of `path_chain` class

Value

a list of `path_chain` objects

Examples

tmp <- create_temp_dir("files") create_sample_dir(tmp, override = TRUE)
#> [1] TRUE
path.chain <- path_chain(tmp) path_children(path.chain)
#> $data #> path_chain #> root: data #> childen: 4 #> $docs #> path_chain #> root: docs #> childen: 2