filesize -package:basement -package:ghc -package:http-client -package:turtle -package:stack -package:btrfs -package:unix-compat -package:filemanip -package:tar -package:ghc-lib -package:MissingH
Size of the file in bytes. If this file is a symbolic link the size is
the length of the pathname it contains.
File size in bytes.
Read-only attribute represented as a
Natural.
For some files we might not know the size beforehand, but we might be
able to provide an upper bound (timestamp, root info)
For most files we download we know the exact size beforehand (because
this information comes from the snapshot or delegated info)
For a handle
hdl which attached to a physical file,
hFileSize hdl returns the size of that file in 8-bit
bytes.
hSetFileSize hdl size truncates the physical
file with handle
hdl to
size bytes.
Obtain the size of a file in bytes.
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.
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.
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.