Idris2/tests/contrib/system_directory_tree_copyDir/CopyDir.idr
madman-bob 7a3d557bab
Add copyDir function (#1805)
Co-authored-by: Stiopa Koltsov <stepan.koltsov@gmail.com>
2021-08-30 16:42:58 +01:00

10 lines
203 B
Idris

import System.Directory.Tree
import System.File
import System.Path
main : IO ()
main = do
Right () <- copyDir (parse "templateDir") (parse "resultDir")
| Left err => printLn err
pure ()