/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/file_names.py

  • Committer: Robert Collins
  • Date: 2007-07-20 00:57:43 UTC
  • mto: This revision was merged to the branch mainline in revision 2634.
  • Revision ID: robertc@robertcollins.net-20070720005743-1s083l5cvp9823nj
Tweak docstrings after over-aggressive search n replace.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    """
45
45
 
46
46
    def __init__(self, transport, index_name):
47
 
        """Create a names on transport called index_name."""
 
47
        """Create a collection on transport called index_name."""
48
48
        self._transport = transport
49
49
        self._index_name = index_name
50
50
        self._names = None
58
58
        raise errors.BzrError('too many files')
59
59
 
60
60
    def initialise(self):
61
 
        """Initialise the names record on disk."""
 
61
        """Initialise the collection."""
62
62
        self._names = set()
63
63
 
64
64
    def load(self):
68
68
        self._names.discard('')
69
69
 
70
70
    def names(self):
71
 
        """What are the names in this names?"""
 
71
        """What are the names in this collection?"""
72
72
        return frozenset(self._names)
73
73
 
74
74
    def remove(self, name):
75
 
        """Remove name from the names."""
 
75
        """Remove name from the collection."""
76
76
        self._names.remove(name)
77
77
 
78
78
    def save(self):