aptsources

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AptSourcesNamespaceDetector

type AptSourcesNamespaceDetector struct{}

AptSourcesNamespaceDetector implements NamespaceDetector and detects the Namespace from the /etc/apt/sources.list file.

This detector is necessary to determine precise Debian version when it is an unstable version for instance.

func (*AptSourcesNamespaceDetector) Detect

func (detector *AptSourcesNamespaceDetector) Detect(data map[string][]byte) *database.Namespace

func (*AptSourcesNamespaceDetector) GetRequiredFiles

func (detector *AptSourcesNamespaceDetector) GetRequiredFiles() []string

Jump to

Keyboard shortcuts

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