equal
deleted
inserted
replaced
153 """Return bytes containing a full serialization of a nodemap |
153 """Return bytes containing a full serialization of a nodemap |
154 |
154 |
155 The nodemap should be valid for the full set of revisions in the |
155 The nodemap should be valid for the full set of revisions in the |
156 index.""" |
156 index.""" |
157 return nodemaputil.persistent_data(self) |
157 return nodemaputil.persistent_data(self) |
|
158 |
|
159 def update_nodemap_data(self, nm_data): |
|
160 """provide full blokc of persisted binary data for a nodemap |
|
161 |
|
162 The data are expected to come from disk. See `nodemap_data_all` for a |
|
163 produceur of such data.""" |
|
164 if nm_data is not None: |
|
165 nodemaputil.parse_data(nm_data) |
158 |
166 |
159 |
167 |
160 class InlinedIndexObject(BaseIndexObject): |
168 class InlinedIndexObject(BaseIndexObject): |
161 def __init__(self, data, inline=0): |
169 def __init__(self, data, inline=0): |
162 self._data = data |
170 self._data = data |