Note
This part of the documentation is created automatically.
single sources.list entry
a split() implementation that understands the sources.list format better and takes [] into account (for e.g. cdroms)
parse a given sources.list (textual) line and break it up into the field we have
set a line to enabled or disabled
return the current line as string
matcher class to make a source entry look nice lots of predefined matchers to make it i18n/gettext friendly
Add a matching template to the source
represents the full sources.list + sources.list.d file
Add a new source to the sources.list. The method will search for existing matching repos and will try to reuse them as far as possible
make a backup of the current source files, if no backup extension is given, the current date/time is used (and returned)
get all parent and child channels in the sources list
(re)load the current sources
update the list of known entries
remove the specified entry from the sources.list
restore sources.list files based on the backup extension
save the current sources
check if the given add_url is idential or a mirror of orig_uri e.g. master_uri = archive.ubuntu.com
compare_uri = de.archive.ubuntu.com -> True
simple and efficient way to return uniq list