cli: --digraph: properly visualize requires.private edges
ci/woodpecker/push/woodpecker Pipeline failed Details

Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
master
Ariadne Conill 2023-10-09 07:06:29 +00:00
parent eb087a6c84
commit 4db8031402
1 changed files with 7 additions and 0 deletions

View File

@ -267,6 +267,13 @@ print_digraph_node(pkgconf_client_t *client, pkgconf_pkg_t *pkg, void *unused)
printf("\"%s\" -- \"%s\" [fontname=Sans fontsize=8]\n", dep->package, pkg->id);
}
PKGCONF_FOREACH_LIST_ENTRY(pkg->requires_private.head, node)
{
pkgconf_dependency_t *dep = node->data;
printf("\"%s\" -- \"%s\" [fontname=Sans fontsize=8 color=gray]\n", dep->package, pkg->id);
}
}
static bool