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

Method parse_new

src/sessions/cursor.rs:267–276  ·  view source on GitHub ↗
(
        &self,
        path: &Path,
        prev: StoredCursor,
        _project_root: &Path,
        max_new_bytes: Option<u64>,
    )

Source from the content-addressed store, hash-verified

265 }
266
267 fn parse_new(
268 &self,
269 path: &Path,
270 prev: StoredCursor,
271 _project_root: &Path,
272 max_new_bytes: Option<u64>,
273 ) -> Option<ParsedTranscript> {
274 let parent_session_id = event_session_id(&self.event, &self.transcript_path);
275 parse_cursor_jsonl(&self.event, &parent_session_id, path, prev, max_new_bytes)
276 }
277}
278
279/// Parse the newly-appended portion of one Cursor transcript file into a

Callers

nothing calls this directly

Calls 3

parse_cursor_jsonlFunction · 0.85
sweep_parent_session_idFunction · 0.85
event_session_idFunction · 0.70

Tested by

no test coverage detected