Sha256: dc873ab9bab914f1bb493b7a2fd63aa09f8be92555990a9e80b365905ce943b6

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

= Description
   A Ruby interface for getting file system information.

= Prerequisites
=== MS Windows 
* windows-pr, 0.6.0 or later.

= Installation
=== Manual Installation
   rake test (optional)
   rake install
=== Gem Installation
   ruby sys-filesystem.gemspec
   gem install sys-filesystem-X.Y.Z.gem

= Synopsis
   require 'sys/filesystem'
   include Sys
   
   p Filesystem.stat("/")

= Notes
=== MS Windows
   This is a pure Ruby implementation using the windows-pr package, which in
   turn wraps native Windows functions.
=== UNIX
   This is a C extension that wraps statvfs, etc.

= Sample code
   Run 'rake example' if you want to see a basic sample run. The actual code
   is 'example_stat.rb' in the 'examples' directory. Modify it as you see fit.

= Known Bugs
   None that I'm aware of.  Please report bugs on the project page at
   http://www.rubyforge.org/projects/sysutils.

= Future Plans
   Add support for mount points/volumes.

= Acknowledgements
   Mike Hall, for ideas and code that I borrowed from his 'filesystem' package.
   Park Heesob, for implementation and API ideas for the MS Windows version.

= Copyright
   (C) 2003-2007 Daniel J. Berger
   All Rights Reserved

= Warranty
   This package is provided "as is" and without any express or
   implied warranties, including, without limitation, the implied
   warranties of merchantability and fitness for a particular purpose.

= Author
   Daniel J. Berger
   djberg96 at gmail dot com
   imperator on IRC (irc.freenode.net)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sys-filesystem-0.1.1 README