Struct ar::Builder [] [src]

pub struct Builder<W: Write> { /* fields omitted */ }

A structure for building archives.

This structure has methods for building up an archive from scratch into any arbitrary writer.

Methods

impl<W: Write> Builder<W>
[src]

Create a new archive builder with the underlying writer object as the destination of all data written.

Unwrap this archive builder, returning the underlying writer object.

Adds a new entry to this archive.

Adds a file on the local filesystem to this archive, using the file name as its identifier.

Adds a file to this archive, with the given name as its identifier.