Open WurmPeter opened 2 months ago
Hi @Nefcairon,
At the moment there isn't, but I can see the path_chain
function can be easily adopted to include this feature.
Please add a PR, which changes this fragment of code. You should replace list.files
with a function, which allows to specify the maximum recursion depth. I think the dirdf package with its dir2
function should be a good solution. You could only copy-paste that function with adding a relevant comment.
Thanks, I'll give it a try.
Hello,
You wrote a nice package, thanks. I would use it to compose paths.
Having directories with thousands of subdirectories and files, the generated config file gets far too big. Is there a way to only store the structure x levels deep? And/or without files?