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]

[src]

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

[src]

Unwrap this archive builder, returning the underlying writer object.

[src]

Adds a new entry to this archive.

[src]

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

[src]

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