size

abstract fun size(path: String): Long(source)

Size of the regular file at path in bytes, or -1 if it does not exist.