in domain/src/main/java/demoapp/dom/types/causeway/treenode/FileSystemTreeAdapter.java [54:65]
private static Stream<File> streamChildFiles(FileNodeVm fileNode){
String path = fileNode.getPath();
if (path == null) {
return Stream.empty();
}
val file = new File(path);
val childFiles = file.listFiles();
return childFiles != null
? Stream.of(childFiles)
.filter(f -> !f.isHidden())
: Stream.empty();
}