mvs

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mvs implements a simplified Minimal Version Selection used by the go compiler. Paper: https://research.swtch.com/vgo-mvs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(pack pack.Pack) string

func List

func List(required []pack.Pack, reqs Reqs) ([]pack.Pack, error)

List creates a list of requirements based on initial list of required packs, taking inter-pack requirements into account.

Types

type Job

type Job struct {
	pack.Pack
}

func (Job) ID

func (j Job) ID() interface{}

func (Job) Payload

func (j Job) Payload() interface{}

type Reqs

type Reqs interface {
	Reqs(pack pack.Pack) ([]pack.Pack, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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