From dfe19c5c7570c650e25617f6653bb103ad89e4d5 Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Tue, 20 Oct 2020 21:52:10 +0800 Subject: feat: stabilize Deno.fsync and Deno.fdatasync (#8038) --- cli/ops/fs.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cli/ops') diff --git a/cli/ops/fs.rs b/cli/ops/fs.rs index 8542b5230..204d447be 100644 --- a/cli/ops/fs.rs +++ b/cli/ops/fs.rs @@ -282,7 +282,6 @@ fn op_fdatasync_sync( args: Value, _zero_copy: &mut [ZeroCopyBuf], ) -> Result { - super::check_unstable(state, "Deno.fdatasync"); let args: FdatasyncArgs = serde_json::from_value(args)?; let rid = args.rid as u32; std_file_resource(state, rid, |r| match r { @@ -297,8 +296,6 @@ async fn op_fdatasync_async( args: Value, _zero_copy: BufVec, ) -> Result { - super::check_unstable2(&state, "Deno.fdatasync"); - let args: FdatasyncArgs = serde_json::from_value(args)?; let rid = args.rid as u32; std_file_resource(&mut state.borrow_mut(), rid, |r| match r { @@ -319,7 +316,6 @@ fn op_fsync_sync( args: Value, _zero_copy: &mut [ZeroCopyBuf], ) -> Result { - super::check_unstable(state, "Deno.fsync"); let args: FsyncArgs = serde_json::from_value(args)?; let rid = args.rid as u32; std_file_resource(state, rid, |r| match r { @@ -334,8 +330,6 @@ async fn op_fsync_async( args: Value, _zero_copy: BufVec, ) -> Result { - super::check_unstable2(&state, "Deno.fsync"); - let args: FsyncArgs = serde_json::from_value(args)?; let rid = args.rid as u32; std_file_resource(&mut state.borrow_mut(), rid, |r| match r { -- cgit v1.2.3