extension

open suspend override fun extension(path: Path): String(source)

Retrieves the file extension of the specified path.

Return

the file extension as a string.

Parameters

path

the path from which to extract the file extension.