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
- Host: GitHub
- URL: https://github.com/librerush/hrfsize
- Owner: librerush
- License: bsd-3-clause
- Created: 2019-05-22T12:24:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-06T09:45:13.000Z (over 6 years ago)
- Last Synced: 2025-06-10T11:16:35.218Z (8 months ago)
- Topics: haskell
- Language: Haskell
- Size: 13.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# hrfsize
## Simple Haskell library for determining size of file in human readable format
[](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