[Haskell-beginners] copy file and create directory

Magnus Therning magnus at therning.org
Wed Feb 26 07:47:18 UTC 2014


On Wed, Feb 26, 2014 at 8:24 AM, Renah Scarowsky <renahs at suite-sol.com> wrote:
> Is there a version of copyFile that will create the directory structure if
> it does not exist yet?

No, I don't think so, I think you'll have to write one by combining
System.Directory.createDirectoryIfMissing with
System.Directory.copyFile.

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus


More information about the Beginners mailing list