From eb542bc185c6c4ce1847417a2dfdf04862cd86db Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Tue, 20 Feb 2024 00:33:42 +1100 Subject: 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. --- cli/tools/test/fmt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli') 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"], -- cgit v1.2.3