Namespaced `parse_offsets` key so hook cursors never collide with the accounting transcript cursors that share the table.
(path: &Path)
| 171 | /// Namespaced `parse_offsets` key so hook cursors never collide with the |
| 172 | /// accounting transcript cursors that share the table. |
| 173 | fn import_cursor_key(path: &Path) -> String { |
| 174 | format!("hook_analytics:{}", path.display()) |
| 175 | } |
| 176 | |
| 177 | fn read_from_offset(path: &Path, offset: u64) -> Result<String, String> { |
| 178 | use std::io::{Read, Seek, SeekFrom}; |