Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data PoseidonPackageChronicle = PoseidonPackageChronicle {}
- data PackageIteration = PackageIteration {}
- updateChronicle :: PoseidonPackageChronicle -> PoseidonPackageChronicle -> PoseidonPackageChronicle
- readChronicle :: FilePath -> PoseidonIO PoseidonPackageChronicle
- writeChronicle :: FilePath -> PoseidonPackageChronicle -> PoseidonIO ()
- makeChronicle :: FilePath -> [PoseidonPackage] -> PoseidonIO PoseidonPackageChronicle
- chroniclePackages :: FilePath -> [PoseidonPackage] -> PoseidonIO (Set PackageIteration)
- getPackageVersion :: PoseidonPackage -> PoseidonIO Version
- getGitCommitHash :: FilePath -> PoseidonIO String
Documentation
data PoseidonPackageChronicle Source #
Instances
FromJSON PoseidonPackageChronicle Source # | |
Defined in Poseidon.Chronicle parseJSON :: Value -> Parser PoseidonPackageChronicle parseJSONList :: Value -> Parser [PoseidonPackageChronicle] | |
ToJSON PoseidonPackageChronicle Source # | |
Defined in Poseidon.Chronicle toJSON :: PoseidonPackageChronicle -> Value toEncoding :: PoseidonPackageChronicle -> Encoding toJSONList :: [PoseidonPackageChronicle] -> Value toEncodingList :: [PoseidonPackageChronicle] -> Encoding | |
Show PoseidonPackageChronicle Source # | |
Defined in Poseidon.Chronicle showsPrec :: Int -> PoseidonPackageChronicle -> ShowS # show :: PoseidonPackageChronicle -> String # showList :: [PoseidonPackageChronicle] -> ShowS # | |
Eq PoseidonPackageChronicle Source # | |
Defined in Poseidon.Chronicle |
data PackageIteration Source #
A data type to represent a package state
PackageIteration | |
|
Instances
updateChronicle :: PoseidonPackageChronicle -> PoseidonPackageChronicle -> PoseidonPackageChronicle Source #
writeChronicle :: FilePath -> PoseidonPackageChronicle -> PoseidonIO () Source #
chroniclePackages :: FilePath -> [PoseidonPackage] -> PoseidonIO (Set PackageIteration) Source #