apm_dependency_provided_p (public)
apm_dependency_provided_p [ -dependency_list dependency_list ] \ dependency_uri dependency_version
Defined in packages/acs-tcl/tcl/apm-install-procs.tcl
Returns 1 if the current system provides the dependency inquired about. Returns -1 if the version number is too low. Returns 0 otherwise.
- Switches:
- -dependency_list (optional, defaults to
"[list]"
)- Specify this if you want to a check a list of dependencies of form {dependency_name dependency_version} in addition to querying the database for what the system currently provides.
- Parameters:
- dependency_uri (required)
- The dependency that is being checked.
- dependency_version (required)
- The version of the dependency being checked.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.