diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-10 08:39:56 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-09 22:39:56 +0000 |
commit | a445ebd74fc4bb2a949828e155fcfe1d39d9f617 (patch) | |
tree | 0b97113f3d57a1f58aba1a2357061719d5ae2156 /ext/fs/ops.rs | |
parent | 064a73f7a08eb12d99fcdf8844e9ce5db62be78b (diff) |
BREAKING(fs): remove `Deno.fsync[Sync]()` (#25448)
Towards #22079
---------
Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
Diffstat (limited to 'ext/fs/ops.rs')
-rw-r--r-- | ext/fs/ops.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fs/ops.rs b/ext/fs/ops.rs index c9eec94fa..dc279b60d 100644 --- a/ext/fs/ops.rs +++ b/ext/fs/ops.rs @@ -1450,7 +1450,7 @@ pub async fn op_fs_file_sync_data_async( } #[op2(fast)] -pub fn op_fs_fsync_sync( +pub fn op_fs_file_sync_sync( state: &mut OpState, #[smi] rid: ResourceId, ) -> Result<(), AnyError> { @@ -1460,7 +1460,7 @@ pub fn op_fs_fsync_sync( } #[op2(async)] -pub async fn op_fs_fsync_async( +pub async fn op_fs_file_sync_async( state: Rc<RefCell<OpState>>, #[smi] rid: ResourceId, ) -> Result<(), AnyError> { |