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 /cli/tools | |
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 'cli/tools')
-rw-r--r-- | cli/tools/test/fmt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/test/fmt.rs b/cli/tools/test/fmt.rs index a185bd04f..fa2362ea1 100644 --- a/cli/tools/test/fmt.rs +++ b/cli/tools/test/fmt.rs @@ -278,7 +278,7 @@ pub const OP_DETAILS: phf::Map<&'static str, [&'static str; 2]> = phf_map! { "op_ffi_call_ptr_nonblocking" => ["do a non blocking ffi call", "awaiting the returned promise"], "op_flock_async" => ["lock a file", "awaiting the result of a `Deno.flock` call"], "op_fs_events_poll" => ["get the next file system event", "breaking out of a for await loop looping over `Deno.FsEvents`"], - "op_fstat_async" => ["get file metadata", "awaiting the result of a `Deno.File#fstat` call"], + "op_fs_file_stat_async" => ["get file metadata", "awaiting the result of a `Deno.FsFile#stat` call"], "op_fsync_async" => ["flush pending data operations for a file to disk", "awaiting the result of a `file.fsync` call"], "op_ftruncate_async" => ["truncate a file", "awaiting the result of a `Deno.ftruncate` call"], "op_funlock_async" => ["unlock a file", "awaiting the result of a `Deno.funlock` call"], |