ws::snapshot::Snapshot method diff (public)
<instance of ws::snapshot::Snapshot> diff
Defined in /usr/local/ns/tcl/nsshell/snapshot.tcl
Compute the difference of the current workspace with the values at snapshot creation time.
- Testcases:
- No testcase defined.
Source code: set current [:collect all] foreach e ${:elements} { #puts "START $e: [llength [dict get ${:start} $e]]" #puts "NOW $e: [llength [dict get $current $e]]" dict set diff $e [:listDiff [dict get $current $e] [dict get ${:start} $e]] } return $diffXQL Not present: Generic, PostgreSQL, Oracle