Read an old graph as authored ranges without trusting sender-local CRDT names or copying its content into another persisted representation.
(&self, inode: Inode)
| 1500 | /// Read an old graph as authored ranges without trusting sender-local CRDT |
| 1501 | /// names or copying its content into another persisted representation. |
| 1502 | pub fn legacy_record_state(&self, inode: Inode) -> Result<Option<SpanRecordState>> { |
| 1503 | let Some(base) = legacy::record_state(self, inode)? else { |
| 1504 | return Ok(None); |
| 1505 | }; |
| 1506 | self.render_legacy_state(inode, base, usize::MAX) |
| 1507 | .map(|(state, _)| Some(state)) |
| 1508 | } |
| 1509 | |
| 1510 | /// Render the visible span tree for an inode. |
| 1511 | pub fn render(&self, inode: Inode) -> Result<Vec<u8>> { |
no test coverage detected