I'm tying to use file-system-tree function from
https://www.gnu.org/software/guile/manual/html_node/File-Tree-Walk.html#File-Tree-Walk. In combination with remove-statfrom the link it results in tree-like list structure, e.g. for
test/
├── dir1
├── dir2
│ ├── file2
│ └── file3
└── file1
we get ("test" (("dir2" ("file2" "file3")) "dir1" "file1"))
How to convert that list to list of all full paths? like this
("test/" "test/file1" "test/dir2" "test/dir2/file3" "test/dir2/file2" "test/dir1")