unixstl/filesystem/directory_functions.hpp File Reference


Detailed Description

[C++ only] Functions for manipulating directories (File System Library).

#include <unixstl/unixstl.h>
#include <unixstl/filesystem/filesystem_traits.hpp>
#include <unixstl/filesystem/file_path_buffer.hpp>

Go to the source code of this file.

Namespaces

namespace  unixstl

Functions

template<typename C>
C * find_last_path_name_separator_ (C const *s)
template<typename C>
bool create_directory_recurse_impl (C const *dir, unsigned short mode)
template<typename C, typename FD>
int remove_directory_recurse_impl (C const *dir, int(*pfn)(void *param, C const *subDir, FD const *st, struct dirent const *de, int err), void *param)
bool create_directory_recurse (char const *dir, unsigned short mode=0755)
 Creates the given directory, including all its parent directories, applying the given mode.
template<typename S>
bool create_directory_recurse (S const &dir, unsigned short mode=0755)
 Creates the given directory, including all its parent directories, applying the given mode.
bool remove_directory_recurse (char const *dir, int(*pfn)(void *param, charconst *subDir, struct stat const *st, struct dirent const *de, int err), void *param)
 Removes the given directory, and all its subdirectories.
bool remove_directory_recurse (char const *dir)
 Removes the given directory, and all its subdirectories.
template<typename S>
bool_t remove_directory_recurse (S const &dir)
 Removes the given directory, and all its subdirectories.


Generated on Thu Jun 10 08:58:00 2010 for STLSoft by  doxygen 1.5.6