staversion-0.1.1.0: What version is the package X in stackage lts-Y.ZZ?

MaintainerToshio Ito <debug.ito@gmail.com>
Safe HaskellNone
LanguageHaskell2010

Staversion.Internal.BuildPlan

Contents

Description

This is an internal module. End-users should not use it.

Synopsis

Entry APIs

data BuildPlan Source #

A data structure that keeps a map between package names and their versions.

data BuildPlanManager Source #

Stateful manager for BuildPlans.

newBuildPlanManager Source #

Arguments

:: FilePath

path to the directory where build plans are hold.

-> Logger 
-> Bool

If True, it queries the Internet for build plans. Otherwise, it won't.

-> IO BuildPlanManager 

Low-level APIs

parseVersionText :: Text -> Maybe Version Source #

Parse a version text. There must not be any trailing characters after a valid version text.

For tests