Method: #check_heads

Defined in:
ext/leveldb/platform.rb

#check_heads(heads = [], fatal = false) ⇒ Object



11
12
13
# File 'ext/leveldb/platform.rb', line 11

def check_heads heads=[], fatal=false
  heads.all? { |head| have_header(head) || (abort("could not find header: #{head}") if fatal)}
end