diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-01-24 11:07:06 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-24 01:07:06 +0100 |
commit | 47620641e7455a0f9df82d17ad0405693e4427a4 (patch) | |
tree | 578a8c3fa25c157fb7cfa226d0f4b66b54995cda /cli/js/40_testing.js | |
parent | 2f47ec6c3a583c8323a06c386feeaee4fbf75edc (diff) |
feat: `FsFile.sync()` and `FsFile.syncSync()` (#22017)
This change:
1. Implements `Deno.FsFile.sync()` and `Deno.FsFile.syncSync()`.
2. Deprecates `Deno.fsync()` and `Deno.fsyncSync()` for removal in Deno
v2, in favour of the above corresponding methods.
Related #21995
---------
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/js/40_testing.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 eb75a4d43..23a8da71b 100644 --- a/cli/js/40_testing.js +++ b/cli/js/40_testing.js @@ -101,7 +101,7 @@ const OP_DETAILS = { "op_flock_async": ["lock a file", "awaiting the result of a `Deno.flock` call"], "op_fs_events_poll": ["get the next file system event", "breaking out of a for await loop looping over `Deno.FsEvents`"], "op_fstat_async": ["get file metadata", "awaiting the result of a `Deno.File#fstat` call"], - "op_fsync_async": ["flush pending data operations for a file to disk", "awaiting the result of a `Deno.fsync` call"], + "op_fsync_async": ["flush pending data operations for a file to disk", "awaiting the result of a `file.fsync` call"], "op_ftruncate_async": ["truncate a file", "awaiting the result of a `Deno.ftruncate` call"], "op_funlock_async": ["unlock a file", "awaiting the result of a `Deno.funlock` call"], "op_futime_async": ["change file timestamps", "awaiting the result of a `Deno.futime` call"], |