aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/fstat.h
diff options
context:
space:
mode:
authormvel <mvel@yandex-team.ru>2022-02-10 16:45:41 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:41 +0300
commit43f5a35593ebc9f6bcea619bb170394ea7ae468e (patch)
treee98df59de24d2ef7c77baed9f41e4875a2fef972 /util/system/fstat.h
parentbd30392c4cc92487950adc375c07adf52da1d592 (diff)
downloadydb-43f5a35593ebc9f6bcea619bb170394ea7ae468e.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/fstat.h')
-rw-r--r--util/system/fstat.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/util/system/fstat.h b/util/system/fstat.h
index b9ef3f3987..64e79e1b55 100644
--- a/util/system/fstat.h
+++ b/util/system/fstat.h
@@ -4,7 +4,7 @@
#include <util/system/fhandle.h>
class TFile;
-class TFsPath;
+class TFsPath;
struct TFileStat {
ui32 Mode = 0; /* protection */
@@ -29,17 +29,17 @@ public:
bool IsDir() const noexcept;
bool IsSymlink() const noexcept;
- explicit TFileStat(const TFile& f);
- explicit TFileStat(FHANDLE f);
- TFileStat(const TFsPath& fileName, bool nofollow = false);
+ explicit TFileStat(const TFile& f);
+ explicit TFileStat(FHANDLE f);
+ TFileStat(const TFsPath& fileName, bool nofollow = false);
TFileStat(const TString& fileName, bool nofollow = false);
- TFileStat(const char* 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;
-private:
- void MakeFromFileName(const char* fileName, bool nofollow);
+private:
+ void MakeFromFileName(const char* fileName, bool nofollow);
};
i64 GetFileLength(FHANDLE fd);