Crate 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.

Structs§

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

Enums§

SourceError
An error that may occur when parsing apt sources.
SourceLine
A line from an apt source list.
SourcesListError

Type Aliases§

SourceResult
Equivalent to Result<T, SourceError>.