filesize -package:basement -package:ghc -package:http-client -package:hackage-security -package:stack -package:tar -package:unix -package:base -package:directory -package:flac -package:unliftio -package:wai-extra
Set to 0 if unknown or a directory
Size of the file in bytes. If this file is a symbolic link the size is
the length of the pathname it contains.
Size of the file in bytes. Does not follow symlinks
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.
Information about the size of files in a merge or pull request.
See: newFileSizes smart constructor.
Convenience function for obtaining the size of a file.
Maximum size of single uploaded file.
Maximum size of file without name which can be skipped.
Ignored if
setSkipFilesWithoutNames is
False.
If skipped file is larger than this setting then
FileUploadException is thrown.
By default maximum file size is 0.
Since: 1.0.3.0
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.