lib/bundler/stats/tree.rb
# TODO: this is a very stupid way to walk this tree
this is a very stupid way to walk this tree
this is a very stupid way to walk this tree
def reverse_dependencies(target)
    @tree.select do |name, dep|
      all_deps = transitive_dependencies(name)
      all_deps.any? { |dep| dep.name == target }
    end
  end
def reverse_dependencies ( target ) @tree . select do | name , dep | all_deps = transitive_dependencies ( name ) all_deps . any? { | dep | dep . name == target } end end
TODO: this is a very stupid way to walk this tree
TODO : this is a very stupid way to walk this tree
target
<not_specific>