From 8bae56606c98e7188de2169a2e7b0540bcea1de2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 30 Nov 2011 20:59:28 +0000 Subject: [PATCH] mog: "stat" shows checksum if it is available Checksums are good, yes they are. --- bin/mog | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/mog b/bin/mog index b511414..b4acd18 100755 --- a/bin/mog +++ b/bin/mog @@ -188,6 +188,7 @@ begin puts "Key: #{key}" puts "Size: #{info['length']}" puts "Class: #{info['class']}" + checksum = info['checksum'] and puts "Checksum: #{checksum}" o = { :pathcount => info["devcount"] } mg.get_paths(key, o).each_with_index do |path,i| puts "URL-#{i}: #{path}" -- 2.11.4.GIT