diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-02-20 00:33:42 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-19 06:33:42 -0700 |
commit | eb542bc185c6c4ce1847417a2dfdf04862cd86db (patch) | |
tree | 34a5ef4be50d28765677843c70af1000ad58f2af /ext/fs/ops.rs | |
parent | 15c64365a258e6498fa04c34c75813e9486397c2 (diff) |
chore(fs): rename `op_fs_file_stat_{async/sync}` ops (#22476)
Renames `op_fs_fstat_{sync/async}` to `op_fs_file_stat_{async/sync}` in
preparation of the upcoming removal of `Deno.fstat()` in v2.
Diffstat (limited to 'ext/fs/ops.rs')
-rw-r--r-- | ext/fs/ops.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fs/ops.rs b/ext/fs/ops.rs index e8573229b..bc9f75a3c 100644 --- a/ext/fs/ops.rs +++ b/ext/fs/ops.rs @@ -1424,7 +1424,7 @@ pub async fn op_fs_fsync_async_unstable( } #[op2(fast)] -pub fn op_fs_fstat_sync( +pub fn op_fs_file_stat_sync( state: &mut OpState, #[smi] rid: ResourceId, #[buffer] stat_out_buf: &mut [u32], @@ -1438,7 +1438,7 @@ pub fn op_fs_fstat_sync( #[op2(async)] #[serde] -pub async fn op_fs_fstat_async( +pub async fn op_fs_file_stat_async( state: Rc<RefCell<OpState>>, #[smi] rid: ResourceId, ) -> Result<SerializableStat, AnyError> { |