Idris2/tests/base/system_file_copyFile/CopyFile.idr
madman-bob 3e1f6aba56
Add copyFile to System.File (#1797)
Co-authored-by: Stiopa Koltsov <stepan.koltsov@gmail.com>
2021-08-30 15:31:37 +01:00

8 lines
138 B
Idris

import System.File
main : IO ()
main = do
Right () <- copyFile "source.bin" "dest.bin"
| Left err => printLn err
pure ()