wire up checksum to create_close/file_info/create_class commands
commit85e9beafb85450a5db1da5bbc66bd3336f4810d0
authorEric Wong <normalperson@yhbt.net>
Fri, 25 Nov 2011 10:02:12 +0000 (25 10:02 +0000)
committerdormando <dormando@rydia.net>
Fri, 30 Mar 2012 00:11:34 +0000 (29 17:11 -0700)
tree440b4046f92572ec56b56acea2b0499af775a919
parent893ba78034cf415fc520d6a5debe820e2b4bc46b
wire up checksum to create_close/file_info/create_class commands

We can now:
* enable checksums for classes
* save client-provided checksums to the database
* verify them on create_close
* read them in file_info
lib/MogileFS/Checksum.pm
lib/MogileFS/Worker/Query.pm
t/50-checksum.t [new file with mode: 0644]