Skip to content

[Filesystem] Add more information about dumpFile #17120

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

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

mohamedGasmii
Copy link
Contributor

Add more information about dumpFile :
1- creating file if it does not exists.
2- mention that the old data inside the file will be lost if it exists.

@javiereguiluz javiereguiluz merged commit 0c76724 into symfony:6.0 Aug 9, 2022
@javiereguiluz
Copy link
Member

@mohamedGasmii thanks for this contribution. I liked your first point about the file/dir being created if they don't exist. However, I removed the second point while merging because in the initial description of the method we already mention that it's atomic and it's based on creating a new file and renaming it afterwards. Cheers!

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

Successfully merging this pull request may close these issues.

3 participants