diff options
author | mikhnenko <mikhnenko@yandex-team.com> | 2024-12-05 10:49:03 +0300 |
---|---|---|
committer | mikhnenko <mikhnenko@yandex-team.com> | 2024-12-05 11:21:12 +0300 |
commit | 681668b400e84754eb7acbc0e173491bb4dfc8b2 (patch) | |
tree | e809b0abb22e9c506c032e256effebcf9ea88dbd /contrib/libs/cxxsupp/libcxx/src/filesystem/directory_entry.cpp | |
parent | fe60cde3cf1989964159845c2929a65056a8dcf3 (diff) | |
download | ydb-681668b400e84754eb7acbc0e173491bb4dfc8b2.tar.gz |
Update libcxx to 18 Dec 3b0705827dbe711788c6b6bec3afa94205db1ce8
commit_hash:875d8582c26b8bf016af25e00ad77d9bbf081948
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/src/filesystem/directory_entry.cpp')
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/src/filesystem/directory_entry.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/src/filesystem/directory_entry.cpp b/contrib/libs/cxxsupp/libcxx/src/filesystem/directory_entry.cpp index 4910d390d1..a71c2f9d24 100644 --- a/contrib/libs/cxxsupp/libcxx/src/filesystem/directory_entry.cpp +++ b/contrib/libs/cxxsupp/libcxx/src/filesystem/directory_entry.cpp @@ -28,7 +28,7 @@ error_code directory_entry::__do_refresh() noexcept { return failure_ec; } - if (!_VSTD_FS::exists(st) || !_VSTD_FS::is_symlink(st)) { + if (!filesystem::exists(st) || !filesystem::is_symlink(st)) { __data_.__cache_type_ = directory_entry::_RefreshNonSymlink; __data_.__type_ = st.type(); __data_.__non_sym_perms_ = st.permissions(); @@ -54,10 +54,10 @@ error_code directory_entry::__do_refresh() noexcept { __data_.__cache_type_ = directory_entry::_RefreshSymlink; } - if (_VSTD_FS::is_regular_file(st)) + if (filesystem::is_regular_file(st)) __data_.__size_ = static_cast<uintmax_t>(full_st.st_size); - if (_VSTD_FS::exists(st)) { + if (filesystem::exists(st)) { __data_.__nlink_ = static_cast<uintmax_t>(full_st.st_nlink); // Attempt to extract the mtime, and fail if it's not representable using |