libstdc++
Filesystem TS
Collaboration diagram for Filesystem TS:

Classes

class  std::experimental::filesystem::v1::path
 

Typedefs

using std::experimental::filesystem::file_time_type = std::chrono::system_clock::time_point
 

Enumerations

enum  std::experimental::filesystem::copy_options : unsigned short {
  none, skip_existing, overwrite_existing, update_existing,
  recursive, copy_symlinks, skip_symlinks, directories_only,
  create_symlinks, create_hard_links
}
 
enum  directory_options : unsigned char { none, follow_directory_symlink, skip_permission_denied }
 
enum  file_type : signed char {
  none, not_found, regular, directory,
  symlink, block, character, fifo,
  socket, unknown
}
 
enum  std::experimental::filesystem::perms : unsigned {
  none, owner_read, owner_write, owner_exec,
  owner_all, group_read, group_write, group_exec,
  group_all, others_read, others_write, others_exec,
  others_all, all, set_uid, set_gid,
  sticky_bit, mask, unknown, add_perms,
  remove_perms, symlink_nofollow
}
 

Functions

void std::experimental::filesystem::copy (const path &__from, const path &__to, copy_options __options)
 
void std::experimental::filesystem::copy (const path &__from, const path &__to, copy_options __options, error_code &) noexcept
 
bool std::experimental::filesystem::copy_file (const path &__from, const path &__to, copy_options __option)
 
bool std::experimental::filesystem::copy_file (const path &__from, const path &__to, copy_options __option, error_code &) noexcept
 
path std::experimental::filesystem::current_path ()
 
bool std::experimental::filesystem::is_regular_file (file_status) noexcept
 
bool std::experimental::filesystem::is_symlink (file_status) noexcept
 
constexpr copy_options std::experimental::filesystem::operator& (copy_options __x, copy_options __y) noexcept
 
constexpr directory_options std::experimental::filesystem::operator& (directory_options __x, directory_options __y) noexcept
 
constexpr perms std::experimental::filesystem::operator& (perms __x, perms __y) noexcept
 
copy_options & std::experimental::filesystem::operator&= (copy_options &__x, copy_options __y) noexcept
 
directory_options & std::experimental::filesystem::operator&= (directory_options &__x, directory_options __y) noexcept
 
perms & std::experimental::filesystem::operator&= (perms &__x, perms __y) noexcept
 
constexpr copy_options std::experimental::filesystem::operator^ (copy_options __x, copy_options __y) noexcept
 
constexpr directory_options std::experimental::filesystem::operator^ (directory_options __x, directory_options __y) noexcept
 
constexpr perms std::experimental::filesystem::operator^ (perms __x, perms __y) noexcept
 
copy_options & std::experimental::filesystem::operator^= (copy_options &__x, copy_options __y) noexcept
 
directory_options & std::experimental::filesystem::operator^= (directory_options &__x, directory_options __y) noexcept
 
perms & std::experimental::filesystem::operator^= (perms &__x, perms __y) noexcept
 
constexpr copy_options std::experimental::filesystem::operator| (copy_options __x, copy_options __y) noexcept
 
constexpr directory_options std::experimental::filesystem::operator| (directory_options __x, directory_options __y) noexcept
 
constexpr perms std::experimental::filesystem::operator| (perms __x, perms __y) noexcept
 
copy_options & std::experimental::filesystem::operator|= (copy_options &__x, copy_options __y) noexcept
 
directory_options & std::experimental::filesystem::operator|= (directory_options &__x, directory_options __y) noexcept
 
perms & std::experimental::filesystem::operator|= (perms &__x, perms __y) noexcept
 
constexpr copy_options std::experimental::filesystem::operator~ (copy_options __x) noexcept
 
constexpr directory_options std::experimental::filesystem::operator~ (directory_options __x) noexcept
 
constexpr perms std::experimental::filesystem::operator~ (perms __x) noexcept
 
file_status std::experimental::filesystem::status (const path &)
 
file_status std::experimental::filesystem::status (const path &, error_code &) noexcept
 
bool std::experimental::filesystem::status_known (file_status) noexcept
 
file_status std::experimental::filesystem::symlink_status (const path &)
 
file_status std::experimental::filesystem::symlink_status (const path &, error_code &) noexcept
 

Variables

uintmax_t std::experimental::filesystem::v1::space_info::available
 
uintmax_t std::experimental::filesystem::v1::space_info::capacity
 
uintmax_t std::experimental::filesystem::v1::space_info::free
 
path std::experimental::filesystem::absolute (const path &__p, const path &__base=current_path())
 
path std::experimental::filesystem::canonical (const path &__p, const path &__base=current_path())
 
path std::experimental::filesystem::canonical (const path &__p, error_code &__ec)
 
path std::experimental::filesystem::canonical (const path &__p, const path &__base, error_code &__ec)
 
void std::experimental::filesystem::copy (const path &__from, const path &__to)
 
void std::experimental::filesystem::copy (const path &__from, const path &__to, error_code &__ec) noexcept
 
bool std::experimental::filesystem::copy_file (const path &__from, const path &__to)
 
bool std::experimental::filesystem::copy_file (const path &__from, const path &__to, error_code &__ec) noexcept
 
void std::experimental::filesystem::copy_symlink (const path &__existing_symlink, const path &__new_symlink)
 
void std::experimental::filesystem::copy_symlink (const path &__existing_symlink, const path &__new_symlink, error_code &__ec) noexcept
 
bool std::experimental::filesystem::create_directories (const path &__p)
 
bool std::experimental::filesystem::create_directories (const path &__p, error_code &__ec) noexcept
 
bool std::experimental::filesystem::create_directory (const path &__p)
 
bool std::experimental::filesystem::create_directory (const path &__p, error_code &__ec) noexcept
 
bool std::experimental::filesystem::create_directory (const path &__p, const path &attributes)
 
bool std::experimental::filesystem::create_directory (const path &__p, const path &attributes, error_code &__ec) noexcept
 
void std::experimental::filesystem::create_directory_symlink (const path &__to, const path &__new_symlink)
 
void std::experimental::filesystem::create_directory_symlink (const path &__to, const path &__new_symlink, error_code &__ec) noexcept
 
void std::experimental::filesystem::create_hard_link (const path &__to, const path &__new_hard_link)
 
void std::experimental::filesystem::create_hard_link (const path &__to, const path &__new_hard_link, error_code &__ec) noexcept
 
void std::experimental::filesystem::create_symlink (const path &__to, const path &__new_symlink)
 
void std::experimental::filesystem::create_symlink (const path &__to, const path &__new_symlink, error_code &__ec) noexcept
 
path std::experimental::filesystem::current_path (error_code &__ec)
 
void std::experimental::filesystem::current_path (const path &__p)
 
void std::experimental::filesystem::current_path (const path &__p, error_code &__ec) noexcept
 
bool std::experimental::filesystem::equivalent (const path &__p1, const path &__p2)
 
bool std::experimental::filesystem::equivalent (const path &__p1, const path &__p2, error_code &__ec) noexcept
 
bool std::experimental::filesystem::exists (file_status __s) noexcept
 
bool std::experimental::filesystem::exists (const path &__p)
 
bool std::experimental::filesystem::exists (const path &__p, error_code &__ec) noexcept
 
uintmax_t std::experimental::filesystem::file_size (const path &__p)
 
uintmax_t std::experimental::filesystem::file_size (const path &__p, error_code &__ec) noexcept
 
uintmax_t std::experimental::filesystem::hard_link_count (const path &__p)
 
uintmax_t std::experimental::filesystem::hard_link_count (const path &__p, error_code &__ec) noexcept
 
bool std::experimental::filesystem::is_block_file (file_status __s) noexcept
 
bool std::experimental::filesystem::is_block_file (const path &__p)
 
bool std::experimental::filesystem::is_block_file (const path &__p, error_code &__ec) noexcept
 
bool std::experimental::filesystem::is_character_file (file_status __s) noexcept
 
bool std::experimental::filesystem::is_character_file (const path &__p)
 
bool std::experimental::filesystem::is_character_file (const path &__p, error_code &__ec) noexcept
 
bool std::experimental::filesystem::is_directory (file_status __s) noexcept
 
bool std::experimental::filesystem::is_directory (const path &__p)
 
bool std::experimental::filesystem::is_directory (const path &__p, error_code &__ec) noexcept
 
bool std::experimental::filesystem::is_empty (const path &__p)
 
bool std::experimental::filesystem::is_empty (const path &__p, error_code &__ec) noexcept
 
bool std::experimental::filesystem::is_fifo (file_status __s) noexcept
 
bool std::experimental::filesystem::is_fifo (const path &__p)
 
bool std::experimental::filesystem::is_fifo (const path &__p, error_code &__ec) noexcept
 
bool std::experimental::filesystem::is_other (file_status __s) noexcept
 
bool std::experimental::filesystem::is_other (const path &__p)
 
bool std::experimental::filesystem::is_other (const path &__p, error_code &__ec) noexcept
 
bool std::experimental::filesystem::is_regular_file (const path &__p)
 
bool std::experimental::filesystem::is_regular_file (const path &__p, error_code &__ec) noexcept
 
bool std::experimental::filesystem::is_socket (file_status __s) noexcept
 
bool std::experimental::filesystem::is_socket (const path &__p)
 
bool std::experimental::filesystem::is_socket (const path &__p, error_code &__ec) noexcept
 
bool std::experimental::filesystem::is_symlink (const path &__p)
 
bool std::experimental::filesystem::is_symlink (const path &__p, error_code &__ec) noexcept
 
file_time_type std::experimental::filesystem::last_write_time (const path &__p)
 
file_time_type std::experimental::filesystem::last_write_time (const path &__p, error_code &__ec) noexcept
 
void std::experimental::filesystem::last_write_time (const path &__p, file_time_type __new_time)
 
void std::experimental::filesystem::last_write_time (const path &__p, file_time_type __new_time, error_code &__ec) noexcept
 
void std::experimental::filesystem::permissions (const path &__p, perms __prms)
 
void std::experimental::filesystem::permissions (const path &__p, perms __prms, error_code &__ec) noexcept
 
path std::experimental::filesystem::read_symlink (const path &__p)
 
path std::experimental::filesystem::read_symlink (const path &__p, error_code &__ec)
 
bool std::experimental::filesystem::remove (const path &__p)
 
bool std::experimental::filesystem::remove (const path &__p, error_code &__ec) noexcept
 
uintmax_t std::experimental::filesystem::remove_all (const path &__p)
 
uintmax_t std::experimental::filesystem::remove_all (const path &__p, error_code &__ec) noexcept
 
void std::experimental::filesystem::rename (const path &__from, const path &__to)
 
void std::experimental::filesystem::rename (const path &__from, const path &__to, error_code &__ec) noexcept
 
void std::experimental::filesystem::resize_file (const path &__p, uintmax_t __size)
 
void std::experimental::filesystem::resize_file (const path &__p, uintmax_t __size, error_code &__ec) noexcept
 
space_info std::experimental::filesystem::space (const path &__p)
 
space_info std::experimental::filesystem::space (const path &__p, error_code &__ec) noexcept
 
path std::experimental::filesystem::system_complete (const path &__p)
 
path std::experimental::filesystem::system_complete (const path &__p, error_code &__ec)
 
path std::experimental::filesystem::temp_directory_path ()
 
path std::experimental::filesystem::temp_directory_path (error_code &__ec)
 

Detailed Description

Utilities for performing operations on file systems and their components, such as paths, regular files, and directories.

Enumeration Type Documentation

◆ copy_options

Bitmask type.

Definition at line 87 of file experimental/bits/fs_fwd.h.

◆ perms

Bitmask type.

Definition at line 140 of file experimental/bits/fs_fwd.h.