From 953dfaa463345a99187709e1b56d5ae10aff81e3 Mon Sep 17 00:00:00 2001 From: Tony Date: Fri, 11 Apr 2025 11:14:36 +0800 Subject: [PATCH] Fix outdated readme example --- plugins/fs/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/fs/README.md b/plugins/fs/README.md index dea88824..33031177 100644 --- a/plugins/fs/README.md +++ b/plugins/fs/README.md @@ -68,9 +68,9 @@ fn main() { Afterwards all the plugin's APIs are available through the JavaScript guest bindings: ```javascript -import { metadata } from '@tauri-apps/plugin-fs' +import { stat } from '@tauri-apps/plugin-fs' -await metadata('/path/to/file') +await stat('/path/to/file') ``` ## Contributing