std::filesystem::file_status
From cppreference.com
                    
                                        
                    < cpp | filesystem
                    
                                                            
                    | Defined in header  <filesystem> | ||
| class file_status; | (since C++17) | |
Stores information about the type and permissions of a file.
[edit] Member functions
| constructs a file_statusobject(public member function) | |
| assigns contents (public member function) | |
| implicit destructor (public member function) | |
| gets or sets the type of the file (public member function) | |
| gets or sets the permissions of the file (public member function) |