ws::snapshot::Snapshot method diff (public)

 <instance of ws::snapshot::Snapshot[i]> diff

Defined in /usr/local/ns/tcl/nsshell/snapshot.tcl

Compute the difference of the current workspace with the values at snapshot creation time.

Partial Call Graph (max 5 caller/called nodes):
%3

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 $diff
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: