Allow get_file_data to accept a block for large files
commit71c71da5df7f680bd7dbdf4c28c7da3c4ee3ed45
authorEric Wong <normalperson@yhbt.net>
Tue, 9 Sep 2008 00:29:17 +0000 (8 17:29 -0700)
committerEric Wong <normalperson@yhbt.net>
Tue, 9 Sep 2008 02:01:04 +0000 (8 19:01 -0700)
tree62d9fc189bfe9228bafbf81250e11962fcc45ca2
parent99735076974cad8c5485b949179701f9d36b0699
Allow get_file_data to accept a block for large files

This block will be passed the IO object for reading the file.
This is to prevent the client from having to slurp an entire
large file into memory all at once.
lib/mogilefs/mogilefs.rb
test/setup.rb
test/test_mogilefs.rb