150
150
:return: The sha1 of lines, and the number of bytes accumulated in
156
158
key = key[:-1] + ('sha1:' + sha1,)
159
161
# By having action/label/sha1/len, we can parse the group if the index
160
162
# was ever destroyed, we have the key in 'label', we know the final
161
163
# bytes are valid from sha1, and we know where to find the end of this