Directories
¶
| Path | Synopsis |
|---|---|
|
Package apk builds, reads, verifies and signs Alpine Linux packages (.apk, the v2 format of apk-tools) and repository indexes, and fetches them from repositories.
|
Package apk builds, reads, verifies and signs Alpine Linux packages (.apk, the v2 format of apk-tools) and repository indexes, and fetches them from repositories. |
|
cmd
|
|
|
rpmsample
command
rpmsample creates an rpm file with some known files, which can be used to test the output of pack against other rpm implementations.
|
rpmsample creates an rpm file with some known files, which can be used to test the output of pack against other rpm implementations. |
|
tar2rpm
command
|
|
|
Package deb reads, writes and indexes Debian binary packages and the metadata of apt repositories.
|
Package deb reads, writes and indexes Debian binary packages and the metadata of apt repositories. |
|
apt
Package apt is a client for Debian apt repositories that needs no apt installation: it refreshes package indexes, reads them, resolves dependencies and downloads packages with their integrity enforced.
|
Package apt is a client for Debian apt repositories that needs no apt installation: it refreshes package indexes, reads them, resolves dependencies and downloads packages with their integrity enforced. |
|
Package download fetches files over HTTP with resume, retry, integrity checks and bounded concurrency, on the shared httpclient transport.
|
Package download fetches files over HTTP with resume, retry, integrity checks and bounded concurrency, on the shared httpclient transport. |
|
Package gpg signs and verifies with OpenPGP.
|
Package gpg signs and verifies with OpenPGP. |
|
Package httpclient fetches small and large HTTP resources for repository clients: every body is size-capped, transient failures are retried with jittered exponential backoff, and files are written atomically.
|
Package httpclient fetches small and large HTTP resources for repository clients: every body is size-capped, transient failures are retried with jittered exponential backoff, and files are written atomically. |
|
internal
|
|
|
limitio
Package limitio bounds how much of a reader is consumed.
|
Package limitio bounds how much of a reader is consumed. |
|
pathseg
Package pathseg is the one definition of a plain path segment, shared by every place that turns client-supplied names into repository paths, coordinates, file names or remote URLs.
|
Package pathseg is the one definition of a plain path segment, shared by every place that turns client-supplied names into repository paths, coordinates, file names or remote URLs. |
|
Package pacman builds, reads and indexes Arch Linux packages and repositories in pure Go, without makepkg, pacman or repo-add.
|
Package pacman builds, reads and indexes Arch Linux packages and repositories in pure Go, without makepkg, pacman or repo-add. |
|
Package rpm reads, verifies and signs RPM packages.
|
Package rpm reads, verifies and signs RPM packages. |
|
cpio
Package cpio reads, writes and extracts the cpio archives that make up the payload of rpm packages: the "newc" format of format 4 packages and the stripped variant of format 6 packages, which holds only the index of each file in the header.
|
Package cpio reads, writes and extracts the cpio archives that make up the payload of rpm packages: the "newc" format of format 4 packages and the stripped variant of format 6 packages, which holds only the index of each file in the header. |
|
dnf
Package dnf is a client for dnf/yum repositories: it reads .repo files, refreshes repository metadata into a cache, indexes it, resolves package dependencies and downloads verified packages.
|
Package dnf is a client for dnf/yum repositories: it reads .repo files, refreshes repository metadata into a cache, indexes it, resolves package dependencies and downloads verified packages. |
|
internal/header
Package header encodes RPM headers: the signature header and the main header of a package share one binary layout, which is written here for both the package writer and the signature rewriting of the reader.
|
Package header encodes RPM headers: the signature header and the main header of a package share one binary layout, which is written here for both the package writer and the signature rewriting of the reader. |
|
pack
Package pack writes rpm packages.
|
Package pack writes rpm packages. |
|
repodata
Package repodata writes and reads the metadata of an RPM repository: the repomd.xml index and the primary.xml, filelists.xml, other.xml, comps.xml and modules.yaml documents that dnf and yum fetch.
|
Package repodata writes and reads the metadata of an RPM repository: the repomd.xml index and the primary.xml, filelists.xml, other.xml, comps.xml and modules.yaml documents that dnf and yum fetch. |
|
tag
Package tag holds the numeric constants of the RPM header format: the types of header entries, the tag numbers of the general header and of the signature header (mirroring rpmtag.h of rpm), the bitmasks found in some of the tags, and the OpenPGP hash algorithm identifiers used by signatures.
|
Package tag holds the numeric constants of the RPM header format: the types of header entries, the tag numbers of the general header and of the signature header (mirroring rpmtag.h of rpm), the bitmasks found in some of the tags, and the OpenPGP hash algorithm identifiers used by signatures. |
|
Package safepath holds the path-containment checks an archive or package extractor needs: it defends against zip-slip path traversal and symlink-escape attacks (deb data.tar, RPM CPIO payloads, APK tarballs, container rootfs layers, source archives).
|
Package safepath holds the path-containment checks an archive or package extractor needs: it defends against zip-slip path traversal and symlink-escape attacks (deb data.tar, RPM CPIO payloads, APK tarballs, container rootfs layers, source archives). |
|
Package xzlimit guards the xz decoder against streams that declare an oversized dictionary: the decoder allocates whatever the header asks for, up to 4 GiB, before reading any data.
|
Package xzlimit guards the xz decoder against streams that declare an oversized dictionary: the decoder allocates whatever the header asks for, up to 4 GiB, before reading any data. |
Click to show internal directories.
Click to hide internal directories.