Struct unrar::archive::Archive [] [src]

pub struct Archive<'a> { /* fields omitted */ }

Methods

impl<'a> Archive<'a>
[src]

Creates an Archive object to operate on a plain RAR archive.

Creates an Archive object to operate on a password encrypted RAR archive.

Set the comment buffer of the underlying archive. Note: Comments are not supported yet so this method will have no effect.

Returns true if the filename matches a RAR archive.

This method does not make any FS operations and operates purely on strings.

Returns true if the filename matches a part of a multipart collection, false otherwise

This method does not make any FS operations and operates purely on strings.

Returns a glob string covering all parts of the multipart collection or None if the underlying archive is a single-part archive.

This method does not make any FS operations and operates purely on strings.

Returns a glob string covering all parts of the multipart collection or a copy of the underlying archive's filename if it's a single-part archive.

This method does not make any FS operations and operates purely on strings.

Returns the nth part of this multi-part collection or None if the underlying archive is single part

This method does not make any FS operations and operates purely on strings.

Return the first part of the multipart collection or None if the underlying archive is single part

This method does not make any FS operations and operates purely on strings.

Returns the first part of the multipart collection or a copy of the underlying archive's filename if it's a single-part archive.

This method does not make any FS operations and operates purely on strings.

Changes the filename to point to the first part of the multipart collection. Does nothing if it is a single-part archive.

This method does not make any FS operations and operates purely on strings.

Opens the underlying archive for listing its contents

Opens the underlying archive for listing its contents without omitting or pooling split entries

Opens the underlying archive for extracting to the given directory.

Opens the underlying archive for testing.

Opens the underlying archive with the provided parameters.