Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enh: use name instead of paths in several methods #71

Merged
merged 2 commits into from
Oct 13, 2016

Conversation

cyrush
Copy link
Member

@cyrush cyrush commented Oct 13, 2016

change Node::paths() to Node::child_names()
change Schema::paths() to Schema::child_names()

remove copy out variants of Node::paths and Schema::paths

return const ref to empty string vec for case where Node
is not in the object role (avoid exception)

change NodeIterator::path() to NodeIterator::name()

change Node::paths() to Node::child_names()
change Schema::paths() to Schema::child_names()

remove copy out variants of Node::paths and Schema::paths

return const ref to empty string vec for case where Node
is not in the object role (avoid exception)

change NodeIterator::path() to NodeIterator::name()
@cyrush
Copy link
Member Author

cyrush commented Oct 13, 2016

this will resolve #49

@cyrush cyrush added this to the 0.2.0 milestone Oct 13, 2016
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 76.77% when pulling e366d58 on task/2016_10_rename_to_use_name_instead_of_path into 82085ad on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 76.858% when pulling 383f859 on task/2016_10_rename_to_use_name_instead_of_path into 82085ad on master.

@cyrush cyrush merged commit 189dc64 into master Oct 13, 2016
@cyrush
Copy link
Member Author

cyrush commented Oct 13, 2016

resolves #49

@cyrush cyrush deleted the task/2016_10_rename_to_use_name_instead_of_path branch November 3, 2016 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants