checkAccess

abstract suspend fun checkAccess(path: Path, vararg modes: AccessMode)