From 378e6a8c0369f3256cde8a595d3dbdfe4f1dc2f9 Mon Sep 17 00:00:00 2001 From: Colin Ihrig Date: Tue, 25 Oct 2022 15:23:36 -0400 Subject: feat: stabilize Deno.utime() and Deno.utimeSync() (#16421) --- runtime/ops/fs.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'runtime/ops/fs.rs') diff --git a/runtime/ops/fs.rs b/runtime/ops/fs.rs index f2ee9af9e..a7e515d7b 100644 --- a/runtime/ops/fs.rs +++ b/runtime/ops/fs.rs @@ -1955,8 +1955,6 @@ fn op_utime_sync( mtime_secs: i64, mtime_nanos: u32, ) -> Result<(), AnyError> { - super::check_unstable(state, "Deno.utime"); - let path = PathBuf::from(&path); let atime = filetime::FileTime::from_unix_time(atime_secs, atime_nanos); let mtime = filetime::FileTime::from_unix_time(mtime_secs, mtime_nanos); @@ -1980,8 +1978,6 @@ async fn op_utime_async( mtime_secs: i64, mtime_nanos: u32, ) -> Result<(), AnyError> { - super::check_unstable(&state.borrow(), "Deno.utime"); - let path = PathBuf::from(&path); let atime = filetime::FileTime::from_unix_time(atime_secs, atime_nanos); let mtime = filetime::FileTime::from_unix_time(mtime_secs, mtime_nanos); -- cgit v1.2.3