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

Path::count() and Path::getLength() are essentially the same #127

Open
jgillmanjr opened this issue Mar 4, 2014 · 0 comments
Open

Path::count() and Path::getLength() are essentially the same #127

jgillmanjr opened this issue Mar 4, 2014 · 0 comments

Comments

@jgillmanjr
Copy link

Path::getLength() just calls Path::count().

Path::count() documentation also indicates it counts the relations in a path, which isn't true as it gives a count of nodes or relations in a path depending on the set context.

Path::getLength() should probably count the number of relations in a path, as the doc block indicates, and the doc block for Path::count() should be updated to indicate it returns a count based on the context set.

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

No branches or pull requests

1 participant