summaryrefslogtreecommitdiff
path: root/runtime/ops
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2021-04-12 17:27:38 +0800
committerGitHub <noreply@github.com>2021-04-12 11:27:38 +0200
commit875ac73f1e8459ecec3d0d7b275546740bfe007e (patch)
tree6dba077c5e8a50599e1d6ed9837cdb54ea5198ce /runtime/ops
parentbf99039ea944c32f0247ad8b3d1057f20f921b40 (diff)
feat(runtime): stabilize Deno.fstat and Deno.fstatSync (#10108)
This commit stabilizes Deno.fstat and Deno.fstatSync which are well known system calls and have a stable interface.
Diffstat (limited to 'runtime/ops')
-rw-r--r--runtime/ops/fs.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/ops/fs.rs b/runtime/ops/fs.rs
index 0753ea0fb..aa3780624 100644
--- a/runtime/ops/fs.rs
+++ b/runtime/ops/fs.rs
@@ -338,7 +338,6 @@ fn op_fstat_sync(
rid: ResourceId,
_zero_copy: Option<ZeroCopyBuf>,
) -> Result<FsStat, AnyError> {
- super::check_unstable(state, "Deno.fstat");
let metadata = StdFileResource::with(state, rid, |r| match r {
Ok(std_file) => std_file.metadata().map_err(AnyError::from),
Err(_) => Err(type_error("cannot stat this type of resource".to_string())),
@@ -351,7 +350,6 @@ async fn op_fstat_async(
rid: ResourceId,
_zero_copy: Option<ZeroCopyBuf>,
) -> Result<FsStat, AnyError> {
- super::check_unstable2(&state, "Deno.fstat");
let resource = state
.borrow_mut()
.resource_table