Namespaces
Variants
Actions

std::filesystem::directory_entry::hard_link_count

From cppreference.com
 
 
 
 
std::uintmax_t hard_link_count() const;
(1) (since C++17)
std::uintmax_t hard_link_count( std::error_code& ec ) const noexcept;
(2) (since C++17)

If the number of hard links is cached in this directory_entry, returns the cached value. Otherwise, returns:

Contents