debian_analyzer::abstract_control

Trait AbstractControlEditor

source
pub trait AbstractControlEditor {
    // Required methods
    fn source<'a>(&'a mut self) -> Option<Box<dyn AbstractSource<'_> + '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§

source

fn source<'a>(&'a mut self) -> Option<Box<dyn AbstractSource<'_> + 'a>>

source

fn binaries<'a>(&'a mut self) -> Vec<Box<dyn AbstractBinary + 'a>>

source

fn commit(&self) -> bool

source

fn wrap_and_sort(&mut self)

Implementors§