def thin_sum(cachedir, form='sha1'):
 thintar = gen_thin(cachedir)
 return salt.utils.get_hash(thintar, form)

def thin_sum ( cachedir , form = 'sha1' ) : thintar = gen_thin ( cachedir ) return salt . utils . get_hash ( thintar , form )
return the checksum of the current thin tarball .