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

[AbsolutePath] withParents on root , on linux , return 2 root path #4258

Open
CafeKrem opened this issue Aug 9, 2019 · 2 comments

Comments

@CafeKrem
Copy link
Contributor

commented Aug 9, 2019

Linux
FileLocator root fullPath withParents
return:
{ Path root . Path root }
it's strange

@Ducasse

This comment has been minimized.

Copy link
Member

commented Aug 9, 2019

This is the same on mac. but what should it returns. When you are on the root the parent is what?
BTW we should add a comment on the method.

@CafeKrem

This comment has been minimized.

Copy link
Contributor Author

commented Aug 9, 2019

I think he should return { Path root }
by definition, the root has no parent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.