diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-01-24 10:31:52 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-24 00:31:52 +0100 |
commit | 2f47ec6c3a583c8323a06c386feeaee4fbf75edc (patch) | |
tree | 92511f544d3b8466fb84fa40f3e68163a4e97324 /cli/js | |
parent | 947ce41e99637dae4cf46126b8bb2d4107fb9913 (diff) |
feat: `Deno.FsFile.dataSync()` and `Deno.FsFile.dataSyncSync()` (#22019)
This change:
1. Implements `Deno.FsFile.dataSync()` and `Deno.FsFile.dataSyncSync()`.
2. Deprecates `Deno.fdatasync()` and `Deno.fdatasyncSync()` for removal
in Deno v2, in favour of the above corresponding methods.
3. Replaces use of `Deno.fdatasync()` and `Deno.fdatasyncSync()` with
the above instance methods.
Related #21995
Diffstat (limited to 'cli/js')
-rw-r--r-- | cli/js/40_testing.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/40_testing.js b/cli/js/40_testing.js index 91d7f105f..eb75a4d43 100644 --- a/cli/js/40_testing.js +++ b/cli/js/40_testing.js @@ -94,7 +94,7 @@ const OP_DETAILS = { "op_net_send_udp": ["send a datagram message via UDP", "awaiting the result of `Deno.DatagramConn#send` call"], "op_net_send_unixpacket": ["send a datagram message via Unixpacket", "awaiting the result of `Deno.DatagramConn#send` call"], "op_dns_resolve": ["resolve a DNS name", "awaiting the result of a `Deno.resolveDns` call"], - "op_fdatasync_async": ["flush pending data operations for a file to disk", "awaiting the result of a `Deno.fdatasync` call"], + "op_fdatasync_async": ["flush pending data operations for a file to disk", "awaiting the result of a `file.fdatasync` call"], "op_fetch_send": ["send a HTTP request", "awaiting the result of a `fetch` call"], "op_ffi_call_nonblocking": ["do a non blocking ffi call", "awaiting the returned promise"], "op_ffi_call_ptr_nonblocking": ["do a non blocking ffi call", "awaiting the returned promise"], |