An open API service indexing awesome lists of open source software.

https://github.com/librerush/hrfsize

File size in human readable format in Haskell
https://github.com/librerush/hrfsize

haskell

Last synced: 3 months ago
JSON representation

File size in human readable format in Haskell

Awesome Lists containing this project

README

          

# hrfsize

## Simple Haskell library for determining size of file in human readable format

[![Hackage](https://img.shields.io/hackage/v/hrfsize.svg?style=plastic)](https://hackage.haskell.org/package/hrfsize)

Example:

```haskell

import System.HrfSize (determineFileSize)

main :: IO ()
main = determineFileSize "/path/to/file" >>= print

```

## TODOs
- determine size of directories
- better exception handling
- write tests