Function ergo::deep_copy[][src]

pub fn deep_copy<P: AsRef<Path>>(send_err: Sender<Error>, from: PathDir, to: P)

Do a deep copy of a directory from one location to another.

This will follow symlinks and copy the contents. Recursive paths will cause an error to be raised.

Errors are sent over the send_err channel.