- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::ws::snapshot::Snapshot
::ws::snapshot::SnapshotCollect the following types of things in the workspacecreate ... \
[ -elements (default " vars procs nx-objects xotcl-objects ") ] \
[ -namespace (default "") ]
Defined in /usr/local/ns/tcl/nsshell/snapshot.tcl
Class Relations
Methods (to be applied on instances)
collect all (scripted, public)
<instance of ws::snapshot::Snapshot> collect all
Invoke :collect on each item in :elements and return a dict representation, where :element items are keys and outputs of :collect are values.
- Testcases:
- No testcase defined.
diff (scripted, public)
<instance of ws::snapshot::Snapshot> diff
Compute the difference of the current workspace with the values at snapshot creation time.
- Testcases:
- No testcase defined.
get_delta (scripted, public)
<instance of ws::snapshot::Snapshot> get_delta
Return a Tcl command which can be evaluated to reconstruct the difference between the start of the snapshot and the current state.
- Testcases:
- No testcase defined.
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables