MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / import_cursor_key

Function import_cursor_key

src/analytics_bridge.rs:173–175  ·  view source on GitHub ↗

Namespaced `parse_offsets` key so hook cursors never collide with the accounting transcript cursors that share the table.

(path: &Path)

Source from the content-addressed store, hash-verified

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

Callers 1

import_sourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected