size
Returns the size of the regular file at the specified path.
Return
the size of the file in bytes.
Parameters
path
the path to the file whose size is to be obtained. Must be a regular file and exist.
Throws
if the provided path does not exist.
Returns the size of the regular file at the specified path.
the size of the file in bytes.
the path to the file whose size is to be obtained. Must be a regular file and exist.
if the provided path does not exist.