isSame

fun <Error class: unknown class>.isSame(file: <Error class: unknown class>?, default: Boolean = false): Boolean

Extension method to check if two files are the same (symlink aware) without throwing an exception, except CancellationException to cancel parent jobs.

Return

whether two files are the same.