Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Fixed find to traverse snapshots. #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

codemonkeyjohn
Copy link
Contributor

find now traverses snapshots and provides type and name fields for snapshots.

find now traverses snapshots and provides type and name fields for
Snapshots.
@cdickmann
Copy link
Contributor

Hmm. This change is too subtle for me to understand. Rich, can you comment?

@@ -70,12 +70,11 @@ def leaves roots, types = []
nodes = new_nodes
new_nodes = Set.new
nodes.each do |node|
if (node.class.traverse? or roots.member? node) and
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain this change?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants