filesize -package:basement -package:ghc -package:http-conduit -package:language-bash -package:pantry -package:http-client -package:ghc-lib -package:flac -package:filemanip -package:tar-conduit -package:btrfs -package:tar -package:unix-compat
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
Size of the file in bytes. Does not follow symlinks
The size of the file (if it is a regular file or a symbolic link) in
bytes. The size of a symbolic link is the length of the pathname it
contains, without a terminating null byte.
The size of a file in the base of a merge or pull request.
The size of a file in the destination of a merge or pull request.
The size of a file in the source of a merge or pull request.
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)
Information about the size of files in a merge or pull request.
See: newFileSizes smart constructor.
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.