get_immediate_dependencies


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "1.44" ) ]
public string[] get_immediate_dependencies (string namespace_)

Return an array of the immediate versioned dependencies for namespace_.

Returned strings are of the form `namespace-version`.

Note: namespace_ must have already been loaded using a function such as require before calling this function.

To get the transitive closure of dependencies for namespace_, use get_dependencies.

Parameters:

this

A Repository or null for the singleton process-global default Repository

namespace_

Namespace of interest

Returns:

Zero-terminated string array of immediate versioned dependencies