Credo.Check.Design.DuplicatedCode.prune_hashes
You're seeing just the function
prune_hashes
, go back to Credo.Check.Design.DuplicatedCode module for more information.
Link to this function
prune_hashes(given_hashes, mass_threshold \\ param_defaults()[:mass_threshold])
View SourceTakes a map of hashes to nodes and prunes those nodes that are just subnodes of others in the same set.
Returns the resulting map.