Struct tugger_debian::DebBuilder[][src]

pub struct DebBuilder<'control> { /* fields omitted */ }
Expand description

A builder for a .deb package file.

Implementations

Construct a new instance using a control file.

Set the compression format to use.

Not all compression formats are supported by all Linux distributions.

Set the modified time to use on archive members.

If this is called, all archive members will use the specified time, helping to make archive content deterministic.

If not called, the current time will be used.

Add an extra file to the control.tar archive.

Register a file as to be installed by this package.

Filenames should be relative to the filesystem root. e.g. usr/bin/myapp.

The file content will be added to the data.tar archive and registered with the control.tar archive so its checksum is computed.

Write .deb file content to a writer.

This effectively materialized the .deb package somewhere.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.