hackage-security-0.6.2.1: Hackage security library
Safe HaskellNone
LanguageHaskell2010

Hackage.Security.TUF.FileMap

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 Source #

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

Instances details
Show FileMap Source # 
Instance details

Defined in Hackage.Security.TUF.FileMap

ReportSchemaErrors m => FromJSON m FileMap Source # 
Instance details

Defined in Hackage.Security.TUF.FileMap

Monad m => ToJSON m FileMap Source # 
Instance details

Defined in Hackage.Security.TUF.FileMap

Methods

toJSON :: FileMap -> m JSValue Source #

Standard accessors

Comparing file maps

data FileChange Source #

Constructors

FileChanged FileInfo

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

FileDeleted

File got deleted

Instances

Instances details
Show FileChange Source # 
Instance details

Defined in Hackage.Security.TUF.FileMap