mvs

package
v0.0.20-test Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 6 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 ErrResolvingReqs added in v0.0.9

type ErrResolvingReqs struct {
}

func (ErrResolvingReqs) Error added in v0.0.9

func (e ErrResolvingReqs) Error() string

type Job

type Job struct {
	Trace []errors.Location
	Pack  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