pub trait AbstractControlEditor {
// Required methods
fn source<'a>(&'a mut self) -> Option<Box<dyn AbstractSource<'a> + 'a>>;
fn binaries<'a>(&'a mut self) -> Vec<Box<dyn AbstractBinary + 'a>>;
fn commit(&self) -> bool;
fn wrap_and_sort(&mut self);
}Expand description
Interface for editing debian packages, whether backed by real control files or debcargo files.
Required Methods§
Sourcefn source<'a>(&'a mut self) -> Option<Box<dyn AbstractSource<'a> + 'a>>
fn source<'a>(&'a mut self) -> Option<Box<dyn AbstractSource<'a> + 'a>>
Get the source package.
Sourcefn binaries<'a>(&'a mut self) -> Vec<Box<dyn AbstractBinary + 'a>>
fn binaries<'a>(&'a mut self) -> Vec<Box<dyn AbstractBinary + 'a>>
Get the binary packages.
Sourcefn wrap_and_sort(&mut self)
fn wrap_and_sort(&mut self)
Wrap and sort the control file.