~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/index.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
245
245
        """
246
246
        
247
247
    def finish(self):
 
248
        """Finish the index.
 
249
 
 
250
        :returns: cStringIO holding the full context of the index as it 
 
251
        should be written to disk.
 
252
        """
248
253
        lines = [_SIGNATURE]
249
254
        lines.append(_OPTION_NODE_REFS + str(self.reference_lists) + '\n')
250
255
        lines.append(_OPTION_KEY_ELEMENTS + str(self._key_length) + '\n')