fileSize

fileSize :: FileStatus -> FileOffset
unix System.Posix.Files.ByteString, unix System.Posix.Files
Size of the file in bytes. If this file is a symbolic link the size is the length of the pathname it contains.
fileSizeLimitExceeded :: Signal
unix System.Posix.Signals
FileSizeBits :: PathVar
unix System.Posix.Files.ByteString, unix System.Posix.Files
hFileSize :: Handle -> IO Integer
base System.IO, base GHC.IO.Handle
For a handle hdl which attached to a physical file, hFileSize hdl returns the size of that file in 8-bit bytes.
hSetFileSize :: Handle -> Integer -> IO ()
base System.IO, base GHC.IO.Handle
hSetFileSize hdl size truncates the physical file with handle hdl to size bytes.
ResourceCoreFileSize :: Resource
unix System.Posix.Resource
ResourceFileSize :: Resource
unix System.Posix.Resource
setFileSize :: FilePath -> FileOffset -> IO ()
unix System.Posix.Files
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.
setFileSize :: RawFilePath -> FileOffset -> IO ()
unix System.Posix.Files.ByteString
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.