Skip to content

Std filesystem copydir

std:std.filesystem.CopyDir

Function CopyDir:Bool( srcDir:String,dstDir:String,recursive:Bool=true )#

Copies a directory.

Copies a directory from srcDir to dstDir.

If recursive is true, all subdirectories are also copied.

Returns true if successful.

Parameters
srcDir srcDir Source directory.
dstDir dstDir Destination directory.
recursive recursive Recursive flag.