R/split_path.R
split_path.Rd
This function converts a character scalar containing a valid file path into a character vector of path components (e.g. directories).
split_path(x, depth_first = TRUE)
character scalar. Path to be processed.
logical. Should path be returned depth first? Defaults to TRUE.
TRUE
Character vector of path components, depth first.