exists

open suspend override fun exists(path: Path): Boolean(source)

Checks if the specified file or directory exists at the given path.

Return

true if the file or directory exists, false otherwise.

Parameters

path

The path to the file or directory to be checked.