Returns \c true if the two \c statx structures refer to the same file
| 433 | |
| 434 | //! Returns \c true if the two \c statx structures refer to the same file |
| 435 | inline bool equivalent_stat(struct ::statx const& s1, struct ::statx const& s2) noexcept |
| 436 | { |
| 437 | return s1.stx_dev_major == s2.stx_dev_major && s1.stx_dev_minor == s2.stx_dev_minor && s1.stx_ino == s2.stx_ino; |
| 438 | } |
| 439 | |
| 440 | //! Returns file type/access mode from \c statx structure |
| 441 | inline mode_t get_mode(struct ::statx const& st) noexcept |
no outgoing calls
no test coverage detected