xetra11
12/08/2020, 10:54 PMFile.walk
however I am not able to get it resolved. IntelliJ always shows me java.nio.file.Files.walk
instead of the extension
public fun File.walk(direction: FileWalkDirection = FileWalkDirection.TOP_DOWN): FileTreeWalk =
FileTreeWalk(this, direction)
Casey Brooks
12/08/2020, 10:57 PMxetra11
12/08/2020, 10:58 PMxetra11
12/08/2020, 10:58 PMxetra11
12/08/2020, 10:59 PMFileTreeWalk
is resolved - that is weird somehowxetra11
12/08/2020, 11:02 PMCasey Brooks
12/08/2020, 11:03 PMFile
instance, not as a static method call. File("some/dir").walk().forEach { }
xetra11
12/08/2020, 11:03 PMxetra11
12/08/2020, 11:03 PM