verifIsSnapshotLocked
verifIsSnapshotLocked(
g_sessionId
t_snapshotName
)
=> t / nil
Description
Returns the locked status of the snapshot.
Arguments
|
Integer, string number, or window specifying the Verifier session ID. For example, |
|
Value Returned
Examples
The following example starts a Verifier session with a cellview 'test/snapshots/verifier' and queries if a snapshot is locked.
sess = verifOpenCellView("test" "snapshots" "verifier")
=> 0
verifIsSnapshotLocked(sess "snap1")
=> t
verifIsSnapshotLocked(sess "snap2")
=> nil
verifIsSnapshotLocked(sess "invalid-snap")
=> t
*WARNING* (VERIFIER-10003): Cannot find snapshot 'invalid-snap' as there is no snapshot with this name.
Use a valid name and try again.
=> nil
Related Topics
Return to top