R/fs_dirname.R
fs_dirname.Rd
Given paths and an integer depth, the function calculates dirname(...(...dirname(paths))), depth times.
fs_dirname(path, depth = 1L)
[character] Paths.
character
[integer(1)] Depth of the k-fold
integer(1)
A character vector.
Other file-system helpers: fs_drop_ext(), fs_path_pop()
fs_drop_ext()
fs_path_pop()