Skip to content

Commit

Permalink
docs(fs/unstable): use stat function in stat example (#6275)
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorM867 authored Dec 17, 2024
1 parent f977cf9 commit 4e5c7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/unstable_stat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import type { FileInfo } from "./unstable_types.ts";
* ```ts
* import { assert } from "@std/assert";
* import { stat } from "@std/fs/unstable-stat";
* const fileInfo = await Deno.stat("README.md");
* const fileInfo = await stat("README.md");
* assert(fileInfo.isFile);
* ```
*
Expand Down

0 comments on commit 4e5c7aa

Please sign in to comment.