Hide listFiles as it's no more preferred by overload resolution over synthetic SAM invocations.
#KT-10652 Fixed
This commit is contained in:
@@ -373,6 +373,7 @@ public fun File.deleteRecursively(): Boolean = walkBottomUp().fold(true, { res,
|
||||
* Returns an array of files and directories in the directory that match the specified [filter]
|
||||
* or `null` if this file does not denote a directory.
|
||||
*/
|
||||
@Deprecated("Provided for binary compatiblity", level = DeprecationLevel.HIDDEN)
|
||||
public fun File.listFiles(filter: (file: File) -> Boolean): Array<File>? = listFiles(FileFilter(filter))
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user