File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " tauri " : patch
3+ ---
4+
5+ ** Breaking change:** Removed ` tauri::api::file::ArchiveFormat::Plain ` .
Original file line number Diff line number Diff line change 1+ ---
2+ " tauri " : patch
3+ ---
4+
5+ ** Breaking change:** The ` tauri::api::file::Extract#extract_file ` function has been moved to ` tauri::api::file::Entry#extract ` .
Original file line number Diff line number Diff line change 1+ ---
2+ " tauri " : patch
3+ ---
4+
5+ ** Breaking change:** The ` tauri::api::file::Extract#files ` function has been renamed to ` with_files ` for performance reasons.
Original file line number Diff line number Diff line change 1+ ---
2+ " tauri " : patch
3+ ---
4+
5+ Improved the performance of the ` tauri::api::fs::Extract ` API.
Original file line number Diff line number Diff line change @@ -9,9 +9,6 @@ pub enum Error {
99 /// Command error.
1010 #[ error( "Command Error: {0}" ) ]
1111 Command ( String ) ,
12- /// The extract archive error.
13- #[ error( "Extract Error: {0}" ) ]
14- Extract ( String ) ,
1512 /// The path operation error.
1613 #[ error( "Path Error: {0}" ) ]
1714 Path ( String ) ,
@@ -69,6 +66,10 @@ pub enum Error {
6966 #[ cfg( feature = "fs-extract-api" ) ]
7067 #[ error( transparent) ]
7168 Zip ( #[ from] zip:: result:: ZipError ) ,
69+ /// Extract error.
70+ #[ cfg( feature = "fs-extract-api" ) ]
71+ #[ error( "Failed to extract: {0}" ) ]
72+ Extract ( String ) ,
7273 /// Notification error.
7374 #[ cfg( notification_all) ]
7475 #[ error( transparent) ]
You can’t perform that action at this time.
0 commit comments