libstdc++: Filesystem (original) (raw)
Enumerations
enum class
std::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 class
std::filesystem::directory_options : unsigned char { none, follow_directory_symlink, skip_permission_denied }
enum class
std::filesystem::file_type : signed char {
none, not_found, regular, directory,
symlink, block, character, fifo,
socket, unknown
}
enum class
std::filesystem::perm_options : unsigned { replace, add, remove, nofollow }
enum class
std::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
}
Functions
std::filesystem::absolute (const path &__p)
std::filesystem::absolute (const path &__p, error_code &__ec)
path &
std::filesystem::path::assign (string_type &&__source)
std::filesystem::path::begin () const noexcept
std::filesystem::canonical (const path &__p)
std::filesystem::canonical (const path &__p, error_code &__ec)
int
std::filesystem::path::compare (const string_type &__s) const noexcept
int
std::filesystem::path::compare (const value_type *__s) const noexcept
void
std::filesystem::copy (const path &__from, const path &__to)
void
std::filesystem::copy (const path &__from, const path &__to, copy_options __options)
void
std::filesystem::copy (const path &__from, const path &__to, copy_options __options, error_code &)
void
std::filesystem::copy (const path &__from, const path &__to, error_code &__ec)
bool
std::filesystem::copy_file (const path &__from, const path &__to)
bool
std::filesystem::copy_file (const path &__from, const path &__to, copy_options __option)
bool
std::filesystem::copy_file (const path &__from, const path &__to, copy_options __option, error_code &)
bool
std::filesystem::copy_file (const path &__from, const path &__to, error_code &__ec)
void
std::filesystem::copy_symlink (const path &__existing_symlink, const path &__new_symlink)
void
std::filesystem::copy_symlink (const path &__existing_symlink, const path &__new_symlink, error_code &__ec) noexcept
bool
std::filesystem::create_directories (const path &__p)
bool
std::filesystem::create_directories (const path &__p, error_code &__ec)
bool
std::filesystem::create_directory (const path &__p)
bool
std::filesystem::create_directory (const path &__p, const path &__attributes)
bool
std::filesystem::create_directory (const path &__p, const path &__attributes, error_code &__ec) noexcept
bool
std::filesystem::create_directory (const path &__p, error_code &__ec) noexcept
void
std::filesystem::create_directory_symlink (const path &__to, const path &__new_symlink)
void
std::filesystem::create_directory_symlink (const path &__to, const path &__new_symlink, error_code &__ec) noexcept
void
std::filesystem::create_hard_link (const path &__to, const path &__new_hard_link)
void
std::filesystem::create_hard_link (const path &__to, const path &__new_hard_link, error_code &__ec) noexcept
void
std::filesystem::create_symlink (const path &__to, const path &__new_symlink)
void
std::filesystem::create_symlink (const path &__to, const path &__new_symlink, error_code &__ec) noexcept
std::filesystem::current_path ()
void
std::filesystem::current_path (const path &__p)
void
std::filesystem::current_path (const path &__p, error_code &__ec) noexcept
std::filesystem::current_path (error_code &__ec)
std::filesystem::path::end () const noexcept
bool
std::filesystem::equivalent (const path &__p1, const path &__p2)
bool
std::filesystem::equivalent (const path &__p1, const path &__p2, error_code &__ec) noexcept
bool
std::filesystem::exists (const path &__p)
bool
std::filesystem::exists (const path &__p, error_code &__ec) noexcept
bool
std::filesystem::exists (file_status) noexcept
std::filesystem::path::extension () const
uintmax_t
std::filesystem::file_size (const path &)
uintmax_t
std::filesystem::file_size (const path &, error_code &) noexcept
std::filesystem::path::filename () const
std::filesystem::path::generic_string () const
template<typename _CharT , typename _Traits = std::char_traits<_CharT>, typename _Allocator = std::allocator<_CharT>>
std::basic_string< _CharT, _Traits, _Allocator >
std::filesystem::path::generic_string (const _Allocator &__a=_Allocator()) const
std::filesystem::path::generic_u16string () const
std::filesystem::path::generic_u32string () const
std::filesystem::path::generic_u8string () const
std::filesystem::path::generic_wstring () const
uintmax_t
std::filesystem::hard_link_count (const path &)
uintmax_t
std::filesystem::hard_link_count (const path &, error_code &) noexcept
bool
std::filesystem::path::has_extension () const noexcept
bool
std::filesystem::path::has_stem () const noexcept
size_t
std::filesystem::hash_value (const path &__p) noexcept
bool
std::filesystem::path::is_absolute () const noexcept
bool
std::filesystem::is_block_file (const path &__p)
bool
std::filesystem::is_block_file (const path &__p, error_code &__ec) noexcept
bool
std::filesystem::is_block_file (file_status __s) noexcept
bool
std::filesystem::is_character_file (const path &__p)
bool
std::filesystem::is_character_file (const path &__p, error_code &__ec) noexcept
bool
std::filesystem::is_character_file (file_status __s) noexcept
bool
std::filesystem::is_directory (const path &__p)
bool
std::filesystem::is_directory (const path &__p, error_code &__ec) noexcept
bool
std::filesystem::is_directory (file_status __s) noexcept
bool
std::filesystem::is_empty (const path &__p)
bool
std::filesystem::is_empty (const path &__p, error_code &__ec)
bool
std::filesystem::is_fifo (const path &__p)
bool
std::filesystem::is_fifo (const path &__p, error_code &__ec) noexcept
bool
std::filesystem::is_fifo (file_status __s) noexcept
bool
std::filesystem::is_other (const path &__p)
bool
std::filesystem::is_other (const path &__p, error_code &__ec) noexcept
bool
std::filesystem::is_other (file_status) noexcept
bool
std::filesystem::is_regular_file (const path &__p)
bool
std::filesystem::is_regular_file (const path &__p, error_code &__ec) noexcept
bool
std::filesystem::is_regular_file (file_status) noexcept
bool
std::filesystem::is_socket (const path &__p)
bool
std::filesystem::is_socket (const path &__p, error_code &__ec) noexcept
bool
std::filesystem::is_socket (file_status __s) noexcept
bool
std::filesystem::is_symlink (const path &__p)
bool
std::filesystem::is_symlink (const path &__p, error_code &__ec) noexcept
bool
std::filesystem::is_symlink (file_status) noexcept
std::filesystem::last_write_time (const path &)
std::filesystem::last_write_time (const path &, error_code &) noexcept
void
std::filesystem::last_write_time (const path &__p, file_time_type __new_time)
void
std::filesystem::last_write_time (const path &__p, file_time_type __new_time, error_code &__ec) noexcept
path &
std::filesystem::path::make_preferred ()
std::filesystem::operator&= (copy_options &__x, copy_options __y) noexcept
std::filesystem::path::iterator::operator* () const noexcept
iterator &
std::filesystem::path::iterator::operator++ () noexcept
template<typename _CharT >
__detail::_Path2< _CharT * > &
std::filesystem::path::operator+= (_CharT __x)
path &
std::filesystem::path::operator+= (basic_string_view< value_type > __x)
path &
std::filesystem::path::operator+= (const string_type &__x)
path &
std::filesystem::path::operator+= (const value_type *__x)
path &
std::filesystem::path::operator+= (value_type __x)
iterator &
std::filesystem::path::iterator::operator-- () noexcept
path &
std::filesystem::path::operator= (path &&) noexcept
path &
std::filesystem::path::operator= (string_type &&__source)
constexpr copy_options
std::filesystem::operator^ (copy_options __x, copy_options __y) noexcept
std::filesystem::operator^= (copy_options &__x, copy_options __y) noexcept
constexpr copy_options
std::filesystem::operator| (copy_options __x, copy_options __y) noexcept
std::filesystem::operator|= (copy_options &__x, copy_options __y) noexcept
constexpr copy_options
std::filesystem::operator~ (copy_options __x) noexcept
void
std::filesystem::permissions (const path &, perms, perm_options, error_code &) noexcept
void
std::filesystem::permissions (const path &__p, perms __prms, error_code &__ec) noexcept
void
std::filesystem::permissions (const path &__p, perms __prms, perm_options __opts=perm_options::replace)
std::filesystem::proximate (const path &__p, const path &__base, error_code &__ec)
std::filesystem::proximate (const path &__p, const path &__base=current_path())
std::filesystem::proximate (const path &__p, error_code &__ec)
std::filesystem::read_symlink (const path &__p)
std::filesystem::read_symlink (const path &__p, error_code &__ec)
std::filesystem::relative (const path &__p, const path &__base, error_code &__ec)
std::filesystem::relative (const path &__p, const path &__base=current_path())
std::filesystem::relative (const path &__p, error_code &__ec)
bool
std::filesystem::remove (const path &, error_code &) noexcept
bool
std::filesystem::remove (const path &__p)
uintmax_t
std::filesystem::remove_all (const path &)
uintmax_t
std::filesystem::remove_all (const path &, error_code &)
void
std::filesystem::rename (const path &__from, const path &__to)
void
std::filesystem::rename (const path &__from, const path &__to, error_code &__ec) noexcept
void
std::filesystem::resize_file (const path &__p, uintmax_t __size)
void
std::filesystem::resize_file (const path &__p, uintmax_t __size, error_code &__ec) noexcept
std::filesystem::space (const path &__p)
std::filesystem::space (const path &__p, error_code &__ec) noexcept
std::filesystem::status (const path &)
std::filesystem::status (const path &, error_code &) noexcept
bool
std::filesystem::status_known (file_status) noexcept
std::filesystem::path::stem () const
std::filesystem::path::string () const
template<typename _CharT , typename _Traits , typename _Allocator >
basic_string< _CharT, _Traits, _Allocator >
std::filesystem::path::string (const _Allocator &__a) const
void
swap (path &__lhs, path &__rhs) noexcept
void
std::filesystem::path::swap (path &__rhs) noexcept
std::filesystem::symlink_status (const path &)
std::filesystem::symlink_status (const path &, error_code &) noexcept
std::filesystem::temp_directory_path ()
std::filesystem::temp_directory_path (error_code &__ec)
std::filesystem::path::u16string () const
std::filesystem::path::u32string () const
template<typename _InputIterator , typename _Require = __detail::_Path2<_InputIterator>, typename _CharT = __detail::__value_type_is_char_or_char8_t<_InputIterator>>
u8path (_InputIterator __first, _InputIterator __last)
template<typename _Source , typename _Require = __detail::_Path<_Source>, typename _CharT = __detail::__value_type_is_char_or_char8_t<_Source>>
u8path (const _Source &__source)
std::filesystem::path::u8string () const
std::filesystem::weakly_canonical (const path &__p)
std::filesystem::weakly_canonical (const path &__p, error_code &__ec)
std::filesystem::path::wstring () const
constexpr perms
std::filesystem::operator| (perms __x, perms __y) noexcept
constexpr perms
std::filesystem::operator^ (perms __x, perms __y) noexcept
constexpr perms
std::filesystem::operator~ (perms __x) noexcept
perms &
std::filesystem::operator&= (perms &__x, perms __y) noexcept
perms &
std::filesystem::operator|= (perms &__x, perms __y) noexcept
perms &
std::filesystem::operator^= (perms &__x, perms __y) noexcept
constexpr perm_options
std::filesystem::operator| (perm_options __x, perm_options __y) noexcept
constexpr perm_options
std::filesystem::operator^ (perm_options __x, perm_options __y) noexcept
constexpr perm_options
std::filesystem::operator~ (perm_options __x) noexcept
std::filesystem::operator&= (perm_options &__x, perm_options __y) noexcept
std::filesystem::operator|= (perm_options &__x, perm_options __y) noexcept
std::filesystem::operator^= (perm_options &__x, perm_options __y) noexcept
constexpr directory_options
std::filesystem::operator| (directory_options __x, directory_options __y) noexcept
constexpr directory_options
std::filesystem::operator^ (directory_options __x, directory_options __y) noexcept
constexpr directory_options
std::filesystem::operator~ (directory_options __x) noexcept
std::filesystem::operator&= (directory_options &__x, directory_options __y) noexcept
std::filesystem::operator|= (directory_options &__x, directory_options __y) noexcept
std::filesystem::operator^= (directory_options &__x, directory_options __y) noexcept
begin (directory_iterator __iter) noexcept
end (directory_iterator) noexcept
begin (recursive_directory_iterator __iter) noexcept
end (recursive_directory_iterator) noexcept