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

windows: Fix open fd error on windows #41

Merged
merged 1 commit into from
May 17, 2023

Conversation

rafikc30
Copy link
Contributor

@rafikc30 rafikc30 commented May 8, 2023

Unlike linux, windows will not allow a rename to
happen if there is an open fd. Hence, closing the
fd's before renaming

sync_files.py Outdated Show resolved Hide resolved
Unlike linux, windows will not allow a rename to
happen if there is an open fd. Hence, closing the
fd's before renaming

Signed-off-by: Mohammed Rafi KC <rafi.kavungal@iternity.com>
Copy link
Member

@portante portante left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@portante
Copy link
Member

FWIW, I fixed in the failing black check in PR #42.

@portante portante merged commit aa2519d into distributed-system-analysis:main May 17, 2023
3 of 4 checks passed
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.

None yet

2 participants