equal
deleted
inserted
replaced
143 if self._index_uuid is None: |
143 if self._index_uuid is None: |
144 self._index_uuid = make_uid() |
144 self._index_uuid = make_uid() |
145 return b"%s-%s.idx" % (self._radix, self._index_uuid) |
145 return b"%s-%s.idx" % (self._radix, self._index_uuid) |
146 |
146 |
147 def data_filepath(self): |
147 def data_filepath(self): |
148 """file path to the current index file associated to this docket""" |
148 """file path to the current data file associated to this docket""" |
149 # very simplistic version at first |
149 # very simplistic version at first |
150 if self._data_uuid is None: |
150 if self._data_uuid is None: |
151 self._data_uuid = make_uid() |
151 self._data_uuid = make_uid() |
152 return b"%s-%s.dat" % (self._radix, self._data_uuid) |
152 return b"%s-%s.dat" % (self._radix, self._data_uuid) |
153 |
153 |