name

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

Retrieves the name of the given path.

Return

the name of the provided path as a String.

Parameters

path

the Path object from which the name will be extracted.