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

fix(node/fs): add sync method to filehandle method #27089

Closed
wants to merge 8 commits into from

Conversation

yuxi-ovo
Copy link

links #25554

@yuxi-ovo
Copy link
Author

fixes #25554

@@ -189,6 +189,7 @@ const promises = {
appendFile: appendFilePromise,
readFile: readFilePromise,
watch: watchPromise,
sync: fsyncSync,
Copy link
Member

Choose a reason for hiding this comment

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

promises.sync doesn't seem existing in Node.js fs docs https://nodejs.org/api/fs.html

Or am I missing something?

Copy link
Author

Choose a reason for hiding this comment

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

Oh, this is my problem. Do I need to delete it now?
Thank you for your reply

Copy link
Contributor

Choose a reason for hiding this comment

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

yes

Copy link
Author

Choose a reason for hiding this comment

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

ok, I'm done. Thank you for your reply

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for taking a look! Maybe a commit wasn't pushed correctly. This line here is still included in the changes of the PR.

Copy link
Author

Choose a reason for hiding this comment

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

here be61bce (#27089)
Is this correct ?
thank you for your replay

@dsherret dsherret changed the title feat(node/fs) Add sync method to filehandle method fix(node/fs): add sync method to filehandle method Nov 26, 2024
@yuxi-ovo yuxi-ovo closed this Nov 27, 2024
@yuxi-ovo yuxi-ovo deleted the feat/sync_to_filehandle- branch November 27, 2024 15:49
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.

3 participants