diff options
author | Casper Beyer <caspervonb@pm.me> | 2020-10-20 21:52:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 09:52:10 -0400 |
commit | dfe19c5c7570c650e25617f6653bb103ad89e4d5 (patch) | |
tree | 90638613f0152c842f36e0b7c68e5d8d1607b98d /cli/ops/fs.rs | |
parent | 070d99645f4849cfc4479382d756bd40379594d0 (diff) |
feat: stabilize Deno.fsync and Deno.fdatasync (#8038)
Diffstat (limited to 'cli/ops/fs.rs')
-rw-r--r-- | cli/ops/fs.rs | 6 |
1 files changed, 0 insertions, 6 deletions
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<Value, AnyError> { - 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<Value, AnyError> { - 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<Value, AnyError> { - 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<Value, AnyError> { - 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 { |