deb

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package deb contains functions for parsing Debian binary package (.deb) files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReplaceControl added in v0.11.0

func ReplaceControl(out io.Writer, in io.Reader, newControl []byte) error

Types

type Reader

type Reader struct {
	Control map[string][]byte
	*tar.Reader
}

Reader provides access to the contents of a Debian binary package (.deb) file. The control files are available in Control, and the data files can be read sequentially using the embedded archive/tar.Reader.

func NewReader

func NewReader(in io.Reader) (*Reader, error)

NewReader creates a new Reader reading from in.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL