uscan

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResultStatusNewerPackageAvailable = "newer package available"
)

Possible Result values

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	Package         string `xml:"package"`
	DebianUVersion  string `xml:"debian-uversion"`
	UpstreamVersion string `xml:"upstream-version"`
	UpstreamURL     string `xml:"upstream-url"`
	Status          string `xml:"status"`
	Target          string `xml:"target"`
	TargetPath      string `xml:"target-path"`
	Message         string `xml:"Message"`
}

Result of the uscan command. Uscan produces this XML output when ran with the --dehs flag.

func Uscan

func Uscan(ctx context.Context, directory string) (*Result, error)

Uscan runs uscan from the given directory

Jump to

Keyboard shortcuts

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