Understanding the dsrepoUpdateItemP SKILL API Function

The dsrepoUpdateItemP SKILL API function updates entire item in which the specified library is contained.

See Also
dsrepoUpdateItemP SKILL API Function Options
`dsrepoUpdateItemP(
            t_libName
            [?force  g_force]
            [?silent g_silent]
)
=> nil / (x_pass x_fail)

If any of the content is modified on disk, then the modifications are retained unless the ?force option is specified. If you specify the ?force option, the modifications are replaced by the last checked in version.

The command returns a list of pass and fail counts; the first integer represents the number of objects successfully unlocked and the second integer represents the number of failures. The dsrepoUpdateItemP function updates the entire workspace, so the returned list is (1 0) if the cancel is successful and (0 1) if the update fails. The function raises an error if argument checking fails. In all other failure cases, the function either raises an error or returns nil.