function
getsize
getsize(path: String) -> Int
Return the size, in bytes, of the specified path.
Args:
- path (
String
): The path to the file.
Returns:
The size of the path in bytes.
getsize[pathlike: PathLike](path: pathlike) -> Int
Return the size, in bytes, of the specified path.
Parameters:
- pathlike (
PathLike
): The type conforming to the os.PathLike trait.
Args:
- path (
pathlike
): The path to the file.
Returns:
The size of the path in bytes.