diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:15 +0300 |
commit | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch) | |
tree | da2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /util/system/fstat.h | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/fstat.h')
-rw-r--r-- | util/system/fstat.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/system/fstat.h b/util/system/fstat.h index 64e79e1b55..528a5f7eaa 100644 --- a/util/system/fstat.h +++ b/util/system/fstat.h @@ -11,9 +11,9 @@ struct TFileStat { ui32 Uid = 0; /* user ID of owner */ ui32 Gid = 0; /* group ID of owner */ - ui64 NLinks = 0; /* number of hard links */ - ui64 Size = 0; /* total size, in bytes */ - ui64 INode = 0; /* inode number */ + ui64 NLinks = 0; /* number of hard links */ + ui64 Size = 0; /* total size, in bytes */ + ui64 INode = 0; /* inode number */ ui64 AllocationSize = 0; /* number of bytes allocated on the disk */ time_t ATime = 0; /* time of last access */ @@ -22,7 +22,7 @@ struct TFileStat { public: TFileStat(); - + bool IsNull() const noexcept; bool IsFile() const noexcept; @@ -34,7 +34,7 @@ public: TFileStat(const TFsPath& fileName, bool nofollow = false); TFileStat(const TString& fileName, bool nofollow = false); TFileStat(const char* fileName, bool nofollow = false); - + friend bool operator==(const TFileStat& l, const TFileStat& r) noexcept; friend bool operator!=(const TFileStat& l, const TFileStat& r) noexcept; |