PathUtils.hpp File Reference

LiMaL path related utilities. More...

#include <limal/config.h>
#include <limal/PathName.hpp>
#include <blocxx/List.hpp>

Go to the source code of this file.

Namespaces

namespace  limal
namespace  limal::path

Functions

int limal::path::createDir (const PathName &path, mode_t mode=0755)
 Create a directory.
int limal::path::createDirRecursive (const PathName &path, mode_t mode=0755)
int limal::path::removeDir (const PathName &path)
 Remove a directory.
int limal::path::removeDirRecursive (const PathName &path)
 Remove a directory recursively.
int limal::path::copyDir (const PathName &srcPath, const PathName &destPath)
int limal::path::readDir (BLOCXX_NAMESPACE::List< BLOCXX_NAMESPACE::String > &retlist, const PathName &path, bool dots)
int limal::path::removeFile (const PathName &path)
int limal::path::moveFile (const PathName &oldPath, const PathName &newPath)
int limal::path::copyFile (const PathName &file, const PathName &dest)
int limal::path::symLink (const PathName &oldPath, const PathName &newPath)
int limal::path::changeMode (const PathName &path, mode_t mode)


Detailed Description

LiMaL path related utilities.

Todo:
Review this file/classes.
Todo:
Reimplement functions in PathUtils to not to execute commands!

Generated on Sat Jun 7 10:55:29 2008 for limal by  doxygen 1.5.5