MCPcopy Index your code
hub / github.com/simstudioai/sim / clearDiff

Method clearDiff

apps/sim/lib/workflows/diff/diff-engine.ts:734–737  ·  view source on GitHub ↗

* Clear the current diff

()

Source from the content-addressed store, hash-verified

732 * Clear the current diff
733 */
734 clearDiff(): void {
735 this.currentDiff = undefined
736 logger.info('Diff cleared')
737 }
738
739 /**
740 * Check if a diff is active

Callers 5

acceptDiffMethod · 0.95
store.tsFile · 0.80
store.test.tsFile · 0.80
useUndoRedoFunction · 0.80

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected