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.