1 // boost/filesystem/convenience.hpp ----------------------------------------//
3 // (C) Copyright Beman Dawes, 2002
4 // (C) Copyright Vladimir Prus, 2002
5 // Permission to copy, use, modify, sell and distribute this software
6 // is granted provided this copyright notice appears in all copies.
7 // This software is provided "as is" without express or implied
8 // warranty, and with no claim as to its suitability for any purpose.
11 // See http://www.boost.org/libs/filesystem for documentation.
13 //----------------------------------------------------------------------------//
15 #ifndef BOOST_FILESYSTEM_CONVENIENCE_HPP
16 #define BOOST_FILESYSTEM_CONVENIENCE_HPP
18 #include <boost/filesystem/path.hpp>
19 #include <boost/filesystem/operations.hpp>
26 // create_directories (contributed by Vladimir Prus) -----------------------//
29 /** Creates directory 'ph' and all necessary parent directories.
30 @post exists(directory_ph) && is_directory(directory_ph) && is_empty(directory_ph)
32 void create_directories(const path& ph);
34 } // namespace filesystem
36 #endif // BOOST_FILESYSTEM_CONVENIENCE_HPP