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

suggestion: finalize replacements for Deno.fdatasync[Sync]() and Deno.fsync[Sync]() #22230

Closed
iuioiua opened this issue Feb 2, 2024 · 2 comments · Fixed by #23733
Closed
Assignees

Comments

@iuioiua
Copy link
Collaborator

iuioiua commented Feb 2, 2024

The following I/O APIs should be replaced with Deno.FsFile methods. This has partially been done already. However, we haven't been able to finalize the new API names, as indicated in #22085.

  1. Deno.fdatasync[Sync]() (currently Deno.FsFile.syncData[Sync]())
  2. Deno.fsync[Sync]() (currently Deno.FsFile.sync[Sync])
@iuioiua iuioiua changed the title suggestion: finalize replacements for I/O + file system APIs suggestion: finalize replacements for Deno.fdatasync[Sync]() and Deno.fsync[Sync]() Feb 2, 2024
@bartlomieju bartlomieju self-assigned this Mar 14, 2024
@dyedgreen
Copy link
Contributor

Are there any plans for stabilizing these (and the file locking) APIs?

This is blocking deno sqlite from upgrading to the new API: dyedgreen/deno-sqlite#259

@iuioiua
Copy link
Collaborator Author

iuioiua commented May 8, 2024

We're stabilizing these APIs in the next minor release in #23733.

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 a pull request may close this issue.

3 participants