| 881 | } |
| 882 | |
| 883 | BOOST_FILESYSTEM_DECL |
| 884 | void copy_directory(const path& from, const path& to, system::error_code* ec) |
| 885 | { |
| 886 | # ifdef BOOST_POSIX_API |
| 887 | struct stat from_stat; |
| 888 | # endif |
| 889 | error(!BOOST_COPY_DIRECTORY(from.c_str(), to.c_str()), |
| 890 | from, to, ec, "boost::filesystem::copy_directory"); |
| 891 | } |
| 892 | |
| 893 | BOOST_FILESYSTEM_DECL |
| 894 | void copy_file(const path& from, const path& to, |