-
Notifications
You must be signed in to change notification settings - Fork 439
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
Fix up and test conflicting names behavior #28
Comments
Currently it just nails down the existing behavior. See #28.
Now files are preferred over directories. See #28.
While I happened to be working on #28.
The
|
I talked with Michael about this for a long time. Notes:
The best mental model for how to implement this I've come up with so far is that this is all just a matter of directory entries, relevant only at
|
To do for alpha:
To do for beta:
|
Oops, there appears to be some problem with listing the directory in this situation:
Investigate. |
Odd, it looks like the directory is listing itself in its contents:
|
I believe this is an unrelated regression. Opened #30 for it. |
Currently:
DirInode.LookUpChild
prefers directories over files if there is a conflicting name.DirInode.ReadEntries
makes no effort to do the same—a conflicting name will show up twice.We don't have a good test for this, and I think files should probably be preferred over directories instead—they are more "local" in some sense. Action items:
ReadDir
. What is thels
user experience?The text was updated successfully, but these errors were encountered: