29 #ifndef LIMAL_PATH_UTILS_HPP
30 #define LIMAL_PATH_UTILS_HPP
34 #include <blocxx/List.hpp>
37 namespace LIMAL_NAMESPACE
63 int createDir(
const PathName &path, mode_t mode = 0755);
120 int copyDir(
const PathName& srcPath,
const PathName& destPath);
129 int readDir(blocxx::List<blocxx::String> & retlist,
130 const PathName& path,
bool dots);
144 int moveFile(
const PathName& oldPath,
const PathName& newPath);
152 int copyFile(
const PathName& file,
const PathName& dest);
160 int symLink(
const PathName& oldPath,
const PathName& newPath);
167 int changeMode(
const PathName& path, mode_t mode);