Crate oma_apt_sources_lists

Source
Expand description

Crate for fetching detailed information from all available apt sources.

The information retrieved from the provided SourcesList and accompanying iterator preserves newlines and comments, so that these files can be modified and overwritten to preserve this data.

Active source entries will be parsed into SourceEntry’s, which can be handled or serialized back into text. Formatting of these lines are not preserved.

Modules§

source_deb822

Structs§

SourceEntry
An apt source entry that is active on the system.
SourceListLineStyle
SourcesList
SourcesLists
Stores all apt source information fetched from the system.

Enums§

Signature
A type to store
SourceError
An error that may occur when parsing apt sources.
SourceLine
A line from an apt source list.
SourceListType
SourcesListError

Type Aliases§

SourceResult
Equivalent to Result<T, SourceError>.