File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -383,9 +383,9 @@ pub async fn get_files_with_extension(
383383
384384 // Check if the file has the specified extension
385385 if entry_path. is_file ( )
386- && entry_path. extension ( ) . is_some_and ( |ext| {
387- ext . to_string_lossy ( ) == extension. trim_start_matches ( '.' )
388- } )
386+ && entry_path
387+ . extension ( )
388+ . is_some_and ( |ext| ext . to_string_lossy ( ) == extension . trim_start_matches ( '.' ) )
389389 {
390390 if let Some ( path_str) = entry_path. to_str ( ) {
391391 files. push ( path_str. to_string ( ) ) ;
Original file line number Diff line number Diff line change @@ -461,10 +461,7 @@ pub struct FileProgressInfo {
461461
462462/// Log individual file progress with detailed status
463463#[ tauri:: command]
464- pub fn log_file_progress (
465- info : FileProgressInfo ,
466- logger : tauri:: State < Arc < AppLogger > > ,
467- ) {
464+ pub fn log_file_progress ( info : FileProgressInfo , logger : tauri:: State < Arc < AppLogger > > ) {
468465 let FileProgressInfo {
469466 file_name,
470467 file_index,
You can’t perform that action at this time.
0 commit comments