size

expect fun File.size(): Double

Acquire the size of this file or directory in bytes. If this file-object denotes a directory, then the size of all files in the directory will be checked and the sum of them returned.

Return

The filesize of this file, or sum of sizes of all files in this directory.

Author

Griefed