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

Avoid appearance of short-lived temporary files in view #2221

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Jun 28, 2023

Fixes #2216

The issue is caused by the addition of a file to the model occuring after asynchronously getting the fileinfo so that it may get added after the file has been deleted. This PR fixes it by adding the file to the model before querying the info. In order to do this it is necessary to use the fallback method of determining whether it is a hidden file from the basename, but this should have little practical effect.

@jeremypw jeremypw marked this pull request as ready for review June 28, 2023 13:39
@jeremypw jeremypw merged commit 9421454 into master Jun 28, 2023
@jeremypw jeremypw deleted the fix-goutputstream branch June 28, 2023 13:39
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

Successfully merging this pull request may close these issues.

Renaming or replacing a file leaves a temporary file in the same directory
2 participants