Understanding the dsrepoCheckinFileP SKILL API Function

The checkin API allows a user to check in one or more cell or library level files.

See Also
dsrepoCheckinFileP SKILL API Function Options
dsrepoCheckinFileP(
     tl_fileNames 
       [?comment t_comment]
       [?silent g_silent] 
       [?keeplocks t]
)
=> nil / (x_pass x_fail)

If you have modified the content, the operation saves the content before the checkin, by default. If you want to prompt the user to choose whether to save or abandon the checkin, specify the ?save nil option.

You can specify a comment by:

  • entering the comment.
  • specifying the location of a file containing the comment.
  • if you do not specify a comment, the system uses the default comment, "Checkin from Semiconductor Repository Client."

By default, the checkin operation releases the locks for all included objects, but you can set the keeplocks option to t (true) and the operation retains the lock after completion.

The command returns a list of pass and fail counts; the first integer represents the number of objects successfully checked out and the second integer represents the number of failures. The function raises an error if argument checking fails. In all other failure cases, the function either raises an error or returns nil.

Note: If you specify keeplocks as true while you check in a view that is also open for edit in a design edit window; the design edit window changes to read-only mode when the checkin completes.