hackage

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Type string = "hackage"

Variables

View Source
var Manifests = []string{"cabal.project.freeze", "stack.yaml", "stack.yaml.lock"}

Functions

func CheckRelatedFile

func CheckRelatedFile(file string) (string, bool, bool)

func Scan

func Scan(data interface{}) interface{}

Types

type Hackage

type Hackage struct {
	Hackage string `yaml:"hackage"`
}

Hackage metadata

type HackageMetadata

type HackageMetadata struct {
	Name        string `json:"name"`
	Version     string `json:"version"`
	PkgHash     string `json:"pkgHash,omitempty"`
	Size        string `json:"size,omitempty"`
	Revision    string `json:"revision,omitempty"`
	SnapshotURL string `json:"snapshotURL,omitempty"`
}

HackageMetadata haskell packages metadata

type StackConfig

type StackConfig struct {
	ExtraDeps []string `yaml:"extra-deps"`
}

StackConfig stack.yaml metadata containing extra-deps

type StackLockConfig

type StackLockConfig struct {
	Packages  []StackPackages `yaml:"packages"`
	Snapshots []interface{}   `yaml:"snapshots"`
}

StackLockConfig stack.yaml.lock metadata containing packages

type StackPackages

type StackPackages struct {
	Original Hackage `yaml:"original"`
}

StackPackages stack.yaml.lock packages metadata

Jump to

Keyboard shortcuts

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