feat(fs): add the size method to get the size of a file or directory (#2095)

This commit is contained in:
ayang
2024-11-26 20:09:42 +08:00
committed by GitHub
parent f8f2eefe03
commit fef76bd504
10 changed files with 134 additions and 3 deletions
+1
View File
@@ -417,6 +417,7 @@ pub fn init<R: Runtime>() -> TauriPlugin<R, Option<config::Config>> {
commands::write_file,
commands::write_text_file,
commands::exists,
commands::size,
#[cfg(feature = "watch")]
watcher::watch,
#[cfg(feature = "watch")]