getAsFileTree

abstract fun getAsFileTree(): FileTree(source)

Returns a FileTree that allows the files and directories contained in this directory to be queried.