include/llfio/v2.0/directory_handle.hpp
/*! Create a handle opening access to a directory on path.

\errors Any of the values POSIX open() or CreateFile() can return.
*/
Create a handle opening access to a directory on path.
\errors Any of the values POSIX open() or CreateFile() can return.
Create a handle opening access to a directory on path . \ errors Any of the values POSIX open () or CreateFile () can return .
inline result<directory_handle> directory(const path_handle &base, directory_handle::path_view_type path, directory_handle::mode _mode = directory_handle::mode::read, directory_handle::creation _creation = directory_handle::creation::open_existing, directory_handle::caching _caching = directory_handle::caching::all,
                                          directory_handle::flag flags = directory_handle::flag::none) noexcept
{
  return directory_handle::directory(std::forward<decltype(base)>(base), std::forward<decltype(path)>(path), std::forward<decltype(_mode)>(_mode), std::forward<decltype(_creation)>(_creation), std::forward<decltype(_caching)>(_caching), std::forward<decltype(flags)>(flags));
}
inline result < directory_handle > directory ( const path_handle & base , directory_handle :: path_view_type path , directory_handle :: mode _mode = directory_handle :: mode :: read , directory_handle :: creation _creation = directory_handle :: creation :: open_existing , directory_handle :: caching _caching = directory_handle :: caching :: all , directory_handle :: flag flags = directory_handle :: flag :: none ) noexcept { return directory_handle :: directory ( std :: forward < decltype ( base ) > ( base ) , std :: forward < decltype ( path ) > ( path ) , std :: forward < decltype ( _mode ) > ( _mode ) , std :: forward < decltype ( _creation ) > ( _creation ) , std :: forward < decltype ( _caching ) > ( _caching ) , std :: forward < decltype ( flags ) > ( flags ) ) ; }
Create a handle opening access to a directory on path.
Create a handle opening access to a directory on path .