diff options
author | Colin Ihrig <cjihrig@gmail.com> | 2022-10-25 15:23:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 15:23:36 -0400 |
commit | 378e6a8c0369f3256cde8a595d3dbdfe4f1dc2f9 (patch) | |
tree | 2eef60849362e3c5f086dd20dbe02ab043032e57 /runtime/ops/fs.rs | |
parent | 8e3f825c921b38141afa7a69a0664881c5c94461 (diff) |
feat: stabilize Deno.utime() and Deno.utimeSync() (#16421)
Diffstat (limited to 'runtime/ops/fs.rs')
-rw-r--r-- | runtime/ops/fs.rs | 4 |
1 files changed, 0 insertions, 4 deletions
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); |