diff options
| author | John Turner <jturner.usa@gmail.com> | 2024-02-22 20:38:29 -0500 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2024-03-07 18:49:06 +0000 |
| commit | b2dbcb184063104f750a407e0dbe3a4e0d3bfd9b (patch) | |
| tree | 116fa3472ac44cdb55c20c25832a23ff6999fc2f /.github/workflows/black.yml | |
| parent | 3a53501625e73483a86f2ee00696047a20682745 (diff) | |
| download | gentoolkit-b2dbcb184063104f750a407e0dbe3a4e0d3bfd9b.tar.gz | |
equery/depends: print output in module rather than with a callback
The depends module can now iterate over the results of the
graph_reverse_depends function and print the items as they are
yielded.
Before, it passed in a callback printer function, and expected the
Dependencies class to call it correctly.
This setup is nicer because it does not tie together this module and
the Dependencies class, and the old setup most likely existed due to
performance and interactivity concerns which are now fixed by turning
graph_reverse_depends into an iterator.
Signed-off-by: John Turner <jturner.usa@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to '.github/workflows/black.yml')
0 files changed, 0 insertions, 0 deletions
