ogma-extra-1.7.0: Ogma: Helper tool to interoperate between Copilot and other languages.
Safe HaskellNone
LanguageHaskell2010

System.Directory.Extra

Description

Auxiliary functions for working with directories.

Synopsis

Documentation

copyDirectoryRecursive Source #

Arguments

:: FilePath

Source directory

-> FilePath

Target directory

-> IO () 

Deprecated: This function is deprecated in ogma-extra-1.6.0.

Copy all files from one directory to another.

copyFile' :: (FilePath, FilePath) -> IO () Source #

Deprecated: This function is deprecated in ogma-extra-1.6.0.

Copy file origin to dest, creating the target directory if it does not exist.

copyTemplate :: FilePath -> Value -> FilePath -> IO () Source #

Copy a template directory into a target location, expanding variables provided in a map in a JSON value, both in the file contents and in the filepaths themselves.