Documentation ¶
Index ¶
Constants ¶
View Source
const Type string = "hackage"
Variables ¶
View Source
var Manifests = []string{"cabal.project.freeze", "stack.yaml", "stack.yaml.lock"}
Functions ¶
Types ¶
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
Click to show internal directories.
Click to hide internal directories.