exists

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

Checks if a file exists under path

Return

true if the file exists, false otherwise

Throws

containing an error code, if receiving an error response

HttpRequestTimeoutException

if the request timed out

HttpRequestException

on network related issues