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

Method git_upsert_commit_session

src/global_db.rs:3270–3275  ·  view source on GitHub ↗

Attributes one commit to one session (idempotent). See [`crate::sessions::git_correlation::upsert_commit_session`].

(
        &self,
        record: &crate::sessions::git_correlation::CommitSessionRecord,
    )

Source from the content-addressed store, hash-verified

3268 /// Attributes one commit to one session (idempotent).
3269 /// See [`crate::sessions::git_correlation::upsert_commit_session`].
3270 pub async fn git_upsert_commit_session(
3271 &self,
3272 record: &crate::sessions::git_correlation::CommitSessionRecord,
3273 ) -> Result<bool, crate::sessions::git_correlation::GitCorrelationError> {
3274 crate::sessions::git_correlation::upsert_commit_session(&self.conn, record).await
3275 }
3276
3277 /// Runs the commit-attribution sweep, delegating branch-scoped git log
3278 /// reads to `scan`. See

Callers 1

backfill_one_sessionFunction · 0.80

Calls 1

upsert_commit_sessionFunction · 0.85

Tested by

no test coverage detected