Expand description
oma-apt provides bindings to libapt-pkg
.
The goal is to eventually have all of the functionality of python-apt
The source repository is https://gitlab.com/volian/oma-apt For more information please see the readme in the source code.
Each module has a raw
submodule containing c++ bindings to libapt-pkg
These are safe to use in terms of memory, but may cause segfaults if you do something wrong.
If you find a way to segfault without using the libapt-pkg
bindings
directly, please report this as a bug.
Modules§
- DepFlags defined in depcache.h
- Contains Cache related structs.
- Contains config related structs and functions.
- There be Errors here.
- Contains Progress struct for updating the package list.
- C++ bindings for libapt-pkg
- Allows access to complete package description records directly from the file.
- Contains structs and functions to parse Debian-styled RFC 822 files.
- Contains miscellaneous helper utilities.
Macros§
- Macro to create the cache, optionally including local valid files.
Structs§
- A struct representing a Base Dependency.
- The main struct for accessing any and all
apt
data. - A struct representing a single Dependency record.
- A single unique libapt package.
- Stores information about the files used to generate the cache
- Determines how to sort packages from the Cache.
- A Provider provides a Version and/or Package.
- Represents a single Version of a package.
- Associates a version with a PackageFile
Enums§
- The different types of Dependencies.
- The current state of a Package.
- Installation state of the package
- The state that the user wishes the package to be in.