hackage-security-0.5.3.0: Hackage security library

Safe HaskellNone
LanguageHaskell2010

Hackage.Security.TUF.FileMap

Contents

Description

Information about files

Intended to be double imported

import Hackage.Security.TUF.FileMap (FileMap)
import qualified Hackage.Security.TUF.FileMap as FileMap
Synopsis

Documentation

data FileMap #

Mapping from paths to file info

File maps are used in target files; the paths are relative to the location of the target files containing the file map.

Instances
Show FileMap # 
Instance details

Defined in Hackage.Security.TUF.FileMap

ReportSchemaErrors m => FromJSON m FileMap # 
Instance details

Defined in Hackage.Security.TUF.FileMap

Methods

fromJSON :: JSValue -> m FileMap #

Monad m => ToJSON m FileMap # 
Instance details

Defined in Hackage.Security.TUF.FileMap

Methods

toJSON :: FileMap -> m JSValue #

data TargetPath #

Entries in FileMap either talk about the repository or the index

Standard accessors

Convenience accessors

Comparing file maps

data FileChange #

Constructors

FileChanged FileInfo

File got added or modified; we record the new file info

FileDeleted

File got deleted

Instances
Show FileChange # 
Instance details

Defined in Hackage.Security.TUF.FileMap