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

Function marker_version

tests/session_suite/transcript_backfill.rs:121–129  ·  view source on GitHub ↗
(project: &std::path::Path)

Source from the content-addressed store, hash-verified

119}
120
121async fn marker_version(project: &std::path::Path) -> Option<i64> {
122 let raw = libsql::Builder::new_local(project_session_db_path(project))
123 .build()
124 .await
125 .unwrap();
126 let conn = raw.connect().unwrap();
127 let mut rows = conn.query(MARKER_SQL, ()).await.unwrap();
128 rows.next().await.unwrap().and_then(|row| row.get(0).ok())
129}
130
131fn metadata_usage(metadata_json: Option<&str>) -> Option<serde_json::Value> {
132 metadata_json

Callers

nothing calls this directly

Calls 3

buildMethod · 0.80
project_session_db_pathFunction · 0.50
connectMethod · 0.45

Tested by

no test coverage detected