Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
acceptDiff
Method · 0.95
store.ts
File · 0.80
store.test.ts
File · 0.80
diff-engine.test.ts
File · 0.80
useUndoRedo
Function · 0.80
Calls
1
info
Method · 0.80
Tested by
no test coverage detected