xo::db::CrClass proc id_belongs_to_package (public)
xo::db::CrClass id_belongs_to_package [ -item_id item_id ] \ [ -revision_id revision_id ] [ -package_id package_id ]
Defined in packages/xotcl-core/tcl/cr-procs.tcl
Check if the provided item_id or revision_id belongs to the provided package.
- Switches:
- -item_id
(defaults to"0"
) (optional)- -revision_id
(defaults to"0"
) (optional)- -package_id
(optional)- Returns:
- boolean success
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.