aboutsummaryrefslogtreecommitdiffstats
path: root/util/folder
diff options
context:
space:
mode:
authorpozhilov <pozhilov@yandex-team.ru>2022-02-10 16:49:27 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:27 +0300
commit23bf1d16dddf213a6aa8e8d5c8621e1242a1f118 (patch)
treeed030ff443eb83431f11e53b6460b1b73d035412 /util/folder
parent7156b3713e77ce36387436e5558320917698b7a2 (diff)
downloadydb-23bf1d16dddf213a6aa8e8d5c8621e1242a1f118.tar.gz
Restoring authorship annotation for <pozhilov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/folder')
-rw-r--r--util/folder/path.h6
-rw-r--r--util/folder/tempdir.h12
2 files changed, 9 insertions, 9 deletions
diff --git a/util/folder/path.h b/util/folder/path.h
index 2fb4d6b4ef..62c9741d1b 100644
--- a/util/folder/path.h
+++ b/util/folder/path.h
@@ -62,9 +62,9 @@ public:
TFsPath& operator/=(const TFsPath& that);
- friend TFsPath operator/(const TFsPath& s, const TFsPath& p) {
- TFsPath ret(s);
- return ret /= p;
+ friend TFsPath operator/(const TFsPath& s, const TFsPath& p) {
+ TFsPath ret(s);
+ return ret /= p;
}
const TPathSplit& PathSplit() const;
diff --git a/util/folder/tempdir.h b/util/folder/tempdir.h
index ff458f83b9..0eef1c2e1f 100644
--- a/util/folder/tempdir.h
+++ b/util/folder/tempdir.h
@@ -1,7 +1,7 @@
#pragma once
#include "fwd.h"
-#include "path.h"
+#include "path.h"
#include <util/generic/string.h>
class TTempDir {
@@ -22,10 +22,10 @@ public:
}
const TString& Name() const {
- return TempDir.GetPath();
- }
-
- const TFsPath& Path() const {
+ return TempDir.GetPath();
+ }
+
+ const TFsPath& Path() const {
return TempDir;
}
@@ -38,6 +38,6 @@ private:
// by requiring additional fake argument.
TTempDir(const char* prefix, TCreationToken);
- TFsPath TempDir;
+ TFsPath TempDir;
bool Remove;
};