exists

abstract suspend fun exists(path: Path): Boolean(source)

Checks if a path exists in the filesystem.

Return

true if the path exists, false otherwise.

Parameters

path

The path to check.

Throws

IOException

if an I/O error occurs while checking path existence.