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
(defaults to "[list]") (optional)
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 - The dependency that is being checked.
dependency_version - The version of the dependency being checked.

Partial Call Graph (max 5 caller/called nodes):
%3 apm_dependency_check apm_dependency_check (private) apm_dependency_provided_p apm_dependency_provided_p apm_dependency_check->apm_dependency_provided_p apm_version_names_compare apm_version_names_compare (public) apm_dependency_provided_p->apm_version_names_compare db_list db_list (public) apm_dependency_provided_p->db_list

Testcases:
No testcase defined.
[ show source ]
Show another procedure: