Slackbot
12/29/2022, 2:57 PMThomas Broyer
12/29/2022, 3:56 PMPatternFilterable
.Big Chungus
12/29/2022, 3:57 PMBig Chungus
12/29/2022, 3:58 PMThomas Broyer
12/29/2022, 4:11 PMvisit()
of FileTree
"preserve directory structure"?Big Chungus
12/29/2022, 4:16 PMproject.fileTree("src")
and it returns all files in src directory flattened with no subfolders being preserved.Thomas Broyer
12/29/2022, 4:38 PMvisit()
does preserve directories though:
project.fileTree("src").visit(object : Action<FileVisitDetails> { override fun execute(it: FileVisitDetails) { println(it.file) } })