Update plugins/fs/guest-js/index.ts

pull/2095/head
Fabian-Lars 8 months ago committed by GitHub
parent b84a823722
commit c1ccab398b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1326,6 +1326,7 @@ async function watchImmediate(
* Get the size of a file or directory. For files, the `stat` functions can be used as well. * Get the size of a file or directory. For files, the `stat` functions can be used as well.
* *
* If `path` is a directory, this function will recursively iterate over every file and every directory inside of `path` and therefore will be very time consuming if used on larger directories. * If `path` is a directory, this function will recursively iterate over every file and every directory inside of `path` and therefore will be very time consuming if used on larger directories.
*
* @example * @example
* ```typescript * ```typescript
* import { size, BaseDirectory } from '@tauri-apps/plugin-fs'; * import { size, BaseDirectory } from '@tauri-apps/plugin-fs';

Loading…
Cancel
Save