copyDirectory function

Future<Directory> copyDirectory(
  1. Directory src,
  2. Directory dst, {
  3. CopyOptions? options,
})

Copy a directory.

Implementation

Future<Directory> copyDirectory(Directory src, Directory dst,
    {CopyOptions? options}) async {
  return fs_io.unwrapIoDirectory(await fs.copyDirectory(
      fs_io.wrapIoDirectory(src), fs_io.wrapIoDirectory(dst),
      options: options));
}