MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / loadBlob

Method loadBlob

src/filesystem/transaction.ts:352–355  ·  view source on GitHub ↗
(hash: string)

Source from the content-addressed store, hash-verified

350 (txn_id, session_id, operation, path, before_hash, after_hash, git_commit_sha, git_status, git_fail_reason, tool_call_id, summary)
351 VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
352 `);
353 this.incrementStmt = this.db.prepare(`UPDATE counters SET value = value + 1 WHERE name = 'next_txn_id'`);
354 this.getNextIdStmt = this.db.prepare(`SELECT value FROM counters WHERE name = 'next_txn_id'`);
355 this.markRolledBackStmt = this.db.prepare(`UPDATE transactions SET status = 'rolled-back' WHERE txn_id = ?`);
356 }
357
358 async begin(sessionId: string, toolCallId?: string, cwd?: string): Promise<Transaction> {

Callers 2

rollbackSessionMethod · 0.95
rollbackLastMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected