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

Name munging is never undone #29

Closed
mgree opened this issue Jun 30, 2021 · 1 comment
Closed

Name munging is never undone #29

mgree opened this issue Jun 30, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@mgree
Copy link
Owner

mgree commented Jun 30, 2021

The JSON object { ".": 5 } will create a file named dot holding the number 5... but it will dump back to JSON without restoring the name.

The best solution is probably to track an "unmunged" name, and files that don't undergo a rename call go back exactly how they were.

This unmunged name is metadata, so the appropriate mechanism for working with it is up in the air (see #2).

@mgree mgree added the bug Something isn't working label Jun 30, 2021
@mgree
Copy link
Owner Author

mgree commented Jul 2, 2021

fad45be introduces a (more or less hidden) way to ignore files when serializing the FS back (really, to be able to ignore ._* files on macOS). Related but not identical to name munging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant