aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/file.h
diff options
context:
space:
mode:
authornga <nga@yandex-team.ru>2022-02-10 16:48:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:09 +0300
commitc2a1af049e9deca890e9923abe64fe6c59060348 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /util/system/file.h
parent1f553f46fb4f3c5eec631352cdd900a0709016af (diff)
downloadydb-c2a1af049e9deca890e9923abe64fe6c59060348.tar.gz
Restoring authorship annotation for <nga@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/file.h')
-rw-r--r--util/system/file.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/system/file.h b/util/system/file.h
index 27f711aff6..9502e159b6 100644
--- a/util/system/file.h
+++ b/util/system/file.h
@@ -53,7 +53,7 @@ Y_DECLARE_FLAGS(EOpenMode, EOpenModeFlag)
Y_DECLARE_OPERATORS_FOR_FLAGS(EOpenMode)
TString DecodeOpenMode(ui32 openMode);
-
+
enum SeekDir {
sSet = 0,
sCur = 1,
@@ -64,7 +64,7 @@ class TFileHandle: public TNonCopyable {
public:
constexpr TFileHandle() = default;
- /// Warning: takes ownership of fd, so closes it in destructor.
+ /// Warning: takes ownership of fd, so closes it in destructor.
inline TFileHandle(FHANDLE fd) noexcept
: Fd_(fd)
{
@@ -147,7 +147,7 @@ private:
class TFile {
public:
TFile();
- /// Takes ownership of handle, so closes it when the last holder of descriptor dies.
+ /// Takes ownership of handle, so closes it when the last holder of descriptor dies.
explicit TFile(FHANDLE fd);
TFile(FHANDLE fd, const TString& fname);
TFile(const TString& fName, EOpenMode oMode);