Struct tauri::api::file::Extract [−][src]
pub struct Extract<'a> { /* fields omitted */ }
Expand description
The extract manager to retrieve files from archives.
Implementations
Create an `Extractor from a source path
Specify an archive format of the source being extracted. If not specified, the archive format will determined from the file extension.
Extract an entire source archive into a specified path. If the source is a single compressed
file and not an archive, it will be extracted into a file with the same name inside of
into_dir
.
Extract a single file from a source and save to a file of the same name in into_dir
.
If the source is a single compressed file, it will be saved with the name file_to_extract
in the specified into_dir
.