21 #ifndef XAPIAN_INCLUDED_UNIXCMDS_H
22 #define XAPIAN_INCLUDED_UNIXCMDS_H
27 void cp_R(
const std::string &src,
const std::string &dest);
30 void rm_rf(
const std::string &filename);
33 void touch(
const std::string &filename);
void rm_rf(const std::string &filename)
Remove a directory and contents, just like the Unix "rm -rf" command.
void touch(const std::string &filename)
Touch a file, just like the Unix "touch" command.
void cp_R(const std::string &src, const std::string &dest)
Recursively copy a directory, just like the Unix "cp -R" command.