Mojo function
getsize
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.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
π What went wrong?