diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/js/90_deno_ns.js | 4 | ||||
-rw-r--r-- | runtime/ops/fs.rs | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js index b4440d2ac..b9e361ae4 100644 --- a/runtime/js/90_deno_ns.js +++ b/runtime/js/90_deno_ns.js @@ -55,6 +55,8 @@ truncate: __bootstrap.fs.truncate, ftruncateSync: __bootstrap.fs.ftruncateSync, ftruncate: __bootstrap.fs.ftruncate, + futime: __bootstrap.fs.futime, + futimeSync: __bootstrap.fs.futimeSync, errors: __bootstrap.errors.errors, // TODO(kt3k): Remove this export at v2 // See https://github.com/denoland/deno/issues/9294 @@ -128,8 +130,6 @@ getUid: __bootstrap.os.getUid, listenDatagram: __bootstrap.net.listenDatagram, umask: __bootstrap.fs.umask, - futime: __bootstrap.fs.futime, - futimeSync: __bootstrap.fs.futimeSync, utime: __bootstrap.fs.utime, utimeSync: __bootstrap.fs.utimeSync, HttpClient: __bootstrap.fetch.HttpClient, diff --git a/runtime/ops/fs.rs b/runtime/ops/fs.rs index 9b0737fe9..f2ee9af9e 100644 --- a/runtime/ops/fs.rs +++ b/runtime/ops/fs.rs @@ -1916,7 +1916,6 @@ fn op_futime_sync( mtime_secs: i64, mtime_nanos: u32, ) -> Result<(), AnyError> { - super::check_unstable(state, "Deno.futimeSync"); let atime = filetime::FileTime::from_unix_time(atime_secs, atime_nanos); let mtime = filetime::FileTime::from_unix_time(mtime_secs, mtime_nanos); @@ -1937,7 +1936,6 @@ async fn op_futime_async( mtime_secs: i64, mtime_nanos: u32, ) -> Result<(), AnyError> { - super::check_unstable2(&state, "Deno.futime"); let atime = filetime::FileTime::from_unix_time(atime_secs, atime_nanos); let mtime = filetime::FileTime::from_unix_time(mtime_secs, mtime_nanos); |