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

When a mocked directories contents change the mocked parent directly mtime should also be updated. #186

Open
tomgreen98 opened this issue Nov 28, 2023 · 2 comments

Comments

@tomgreen98
Copy link

The standard filesystem behavior on linux is to update the parent directory mtime when the contents of the directory change. It would be helpful if this mock system implemented that interaction behavior as well to test certain use cases.

@tomgreen98
Copy link
Author

@toddr
Copy link
Member

toddr commented Nov 28, 2023

sounds right. I think we may not be updating the time on the file object either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants