filesize -package:basement -package:ghc -package:turtle -package:hackage-security -package:btrfs
Size of the file in bytes. If this file is a symbolic link the size is
the length of the pathname it contains.
Set to 0 if unknown or a directory
Get size of a file in the archive.
File size in bytes.
attribute represented as a Natural
Get size of a file in the archive (by index).
For a handle hdl
which attached to a physical file,
returns the size of that file in 8-bit
hSetFileSize hdl size
truncates the physical
file with handle hdl
Obtain the size of a file in bytes.
Truncates the file down to the specified length. If the file was
larger than the given length before this operation was performed the
extra is lost.
Note: calls truncate.