HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

ModuleAgda-2.7.0.1Haskell2010

Agda.Utils.IO.Directory

  • 2 values
  • PackageAgda-2.7.0.1
  • Exports2
  • LanguageHaskell2010
  • LicenceMIT
  • SourceDirectory.hs
valuecopyDirContent :: FilePath -> FilePath -> IO ()
#

copyDirContent src dest recursively copies directory src onto dest.

First, a to-do list of copy actions is created. Then, the to-do list is carried out.

This avoids copying files we have just created again, which can happen if src and dest are not disjoint. (See issue #2705.)