std::filesystem::directory_entry::hard_link_count

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

# Declarations

std::uintmax_t hard_link_count() const;

(since C++17)

std::uintmax_t hard_link_count( std::error_code& ec ) const noexcept;

(since C++17)

# Parameters

# Return value

The number of hard links for the referred-to filesystem object.

# Example

This section is incompleteReason: no example

# See also