release

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Filename

func Filename(r *rls.Release) string

Filename returns the calculated filename for the specified release

func FromFile

func FromFile(f []byte) (r *rls.Release, err error)

FromFile returns a release struct from raw bytes

func ToFile

func ToFile(r *rls.Release) (io.Reader, error)

ToFile serializes the release into an io.Reader for writing to a filesystem

func ToString

func ToString(r *rls.Release, verbose bool) (ret string)

ToString returns the string representation of the release

func UpdateValue

func UpdateValue(r *rls.Release, name, value string) (*rls.Release, error)

UpdateValue configured in the release

Types

This section is empty.

Jump to

Keyboard shortcuts

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