list Files In Dir
Return the files in directory.
Doesn't traverse subdirectories
Return
the files in directory
Parameters
dirPath
The path of directory.
Return the files in directory.
Doesn't traverse subdirectories
Return
the files in directory
Parameters
dir
The directory.
open fun listFilesInDir(dirPath: String, isRecursive: Boolean): List<File>
Content copied to clipboard
Return the files in directory.
Return
the files in directory
Parameters
dirPath
The path of directory.
isRecursive
True to traverse subdirectories, false otherwise.
Return the files in directory.
Return
the files in directory
Parameters
dir
The directory.
isRecursive
True to traverse subdirectories, false otherwise.