Struct debian_packaging::deb::builder::ControlTarBuilder [−][src]
pub struct ControlTarBuilder<'a> { /* fields omitted */ }Expand description
A builder for a control.tar file inside .deb packages.
Implementations
Create a new instance from a control file.
Add an extra file to the control archive.
This is usually used to add maintainer scripts. Maintainer scripts
are special scripts like preinst and postrm that are executed
during certain activities.
Add a data file to be indexed.
This should be called for every file in the corresponding data.tar
archive in the .deb archive.
path is the relative path the file will be installed to.
reader is a reader to obtain the file content.
This method has the side-effect of computing the checksum for the path so a checksums entry can be written.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ControlTarBuilder<'a>
impl<'a> Send for ControlTarBuilder<'a>
impl<'a> Sync for ControlTarBuilder<'a>
impl<'a> Unpin for ControlTarBuilder<'a>
impl<'a> UnwindSafe for ControlTarBuilder<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
