1.7.5.12 location(Kind, Id)

-spec location(kind(), dependency()) -> #{dir :=
                                              file:filename(),
                                          project :=
                                              anvl_project:t()}.

Return location of a resolved dependency.

project field of the return map is set to a path entry where the dir is located if the path entry is an ANVL project or to parent project that declared the dependency otherwise.

JavaScript license information