equal
deleted
inserted
replaced
173 # only 256 keys, and for each value, len(value) <= 0xfffe. |
173 # only 256 keys, and for each value, len(value) <= 0xfffe. |
174 return metabuf |
174 return metabuf |
175 |
175 |
176 |
176 |
177 _metaitemtypes = { |
177 _metaitemtypes = { |
178 constants.METAKEYFLAG: (int, pycompat.long), |
178 constants.METAKEYFLAG: (int, int), |
179 constants.METAKEYSIZE: (int, pycompat.long), |
179 constants.METAKEYSIZE: (int, int), |
180 } |
180 } |
181 |
181 |
182 |
182 |
183 def buildpackmeta(metadict): |
183 def buildpackmeta(metadict): |
184 """like _buildpackmeta, but typechecks metadict and normalize it. |
184 """like _buildpackmeta, but typechecks metadict and normalize it. |