getOriginalFile

fun <Error class: unknown class>.getOriginalFile(): <Error class: unknown class>

Extension method to get the real file of a symlink without throwing an exception, except CancellationException to cancel parent jobs.

Return

the real File of a symlink or itself.