Skip to content

Commit

Permalink
Merge pull request #522 from Shopify/remove-deadcode-spoom-filetree-p…
Browse files Browse the repository at this point in the history
…rint_with_strictnesses

Remove dead method `print_with_strictnesses`
  • Loading branch information
KaanOzkan committed Mar 6, 2024
2 parents 359d0da + 5c75e86 commit d50901a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/spoom/file_tree.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,6 @@ def print(out: $stdout, colors: true)
printer.visit_tree(self)
end

sig { params(context: Context, out: T.any(IO, StringIO), colors: T::Boolean).void }
def print_with_strictnesses(context, out: $stdout, colors: true)
strictnesses = nodes_strictnesses(context)

printer = Printer.new(strictnesses, out: out, colors: colors)
printer.visit_tree(self)
end

# A node representing either a file or a directory inside a FileTree
class Node < T::Struct
extend T::Sig
Expand Down

0 comments on commit d50901a

Please sign in to comment.