publishmanifest

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifest

type Manifest struct {
	Published []PublishedFile
}

Manifest is a publish manifest file, written by DevDiv.MS.Go.Publishing.

func (*Manifest) ByFilename

func (m *Manifest) ByFilename() (map[string]PublishedFile, error)

ByFilename returns a map of PublishedFile by filename for efficient lookup, or an error if there are duplicates.

type PublishedFile

type PublishedFile struct {
	Filename string `json:"FileName"`
	SHA256   string `json:"Sha256"`
	URL      string `json:"Url"`
}

PublishedFile represents a file that has been published.

Jump to

Keyboard shortcuts

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