| 191 | bool TFileStat::operator==(const TFileStat& other) const noexcept = default; |
| 192 | |
| 193 | void TFileStat::MakeFromFileName(const char* fileName, bool nofollow) { |
| 194 | TSystemFStat st; |
| 195 | if (GetStatByName(st, fileName, nofollow)) { |
| 196 | MakeStat(*this, st); |
| 197 | } else { |
| 198 | *this = TFileStat(); |
| 199 | } |
| 200 | } |
| 201 | |
| 202 | TFileStat::TFileStat(const TFsPath& fileName, bool nofollow) { |
| 203 | MakeFromFileName(fileName.GetPath().data(), nofollow); |
nothing calls this directly
no test coverage detected