0.01
No commit activity in last 3 years
No release in over 3 years
Simple class that shows free disk space for directory. Return free disk space as float.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0
~> 1.8.7
~> 3.12
~> 2.8.0

Runtime

 Project Readme

free_disk_space Build Status

Simple class that shows free disk space for directory. Return free disk space as float.

Usage

gem install free_disk_space

OR in Gemfile:

gem 'free_disk_space'

Then just use in code:

FreeDiskSpace.terabytes('/')
FreeDiskSpace.gigabytes('/')
FreeDiskSpace.megabytes('/')
FreeDiskSpace.kilobytes('/')
FreeDiskSpace.bytes('/')

OR:

free_disk_space = FreeDiskSpace.new('/')
free_disk_space.terabytes
free_disk_space.gigabytes
free_disk_space.megabytes
free_disk_space.kilobytes
free_disk_space.terabytes