dhall-1.22.0: A configuration language guaranteed to terminate

Safe HaskellNone
LanguageHaskell2010

Dhall.Freeze

Contents

Description

This module contains the implementation of the dhall freeze subcommand

Synopsis

Freeze

freeze Source #

Arguments

:: Maybe FilePath

Modify file in-place if present, otherwise read from stdin and write to stdout

-> Bool

If True then freeze all imports, otherwise freeze only remote imports

-> StandardVersion 
-> IO () 

Implementation of the dhall freeze subcommand

freezeImport Source #

Arguments

:: FilePath

Current working directory

-> StandardVersion 
-> Import 
-> IO Import 

Retrieve an Import and update the hash to match the latest contents

freezeRemoteImport Source #

Arguments

:: FilePath

Current working directory

-> StandardVersion 
-> Import 
-> IO Import 

Freeze an import only if the import is a Remote import