aboutsummaryrefslogtreecommitdiffstats
path: root/util/folder/path.cpp
diff options
context:
space:
mode:
authormkalinin <mkalinin@yandex-team.ru>2022-02-10 16:52:04 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:52:04 +0300
commit6e90758a8ecc52d15d22136798a0758cf9f7ccf5 (patch)
treeab7fbbf3253d4c0e2793218f09378908beb025fb /util/folder/path.cpp
parent903e2b45f82e8b508c9a33ce0a0e51e419423343 (diff)
downloadydb-6e90758a8ecc52d15d22136798a0758cf9f7ccf5.tar.gz
Restoring authorship annotation for <mkalinin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/folder/path.cpp')
-rw-r--r--util/folder/path.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/folder/path.cpp b/util/folder/path.cpp
index 96f6dbf2fb..bfe0c67d68 100644
--- a/util/folder/path.cpp
+++ b/util/folder/path.cpp
@@ -380,12 +380,12 @@ void TFsPath::MkDir(const int mode) const {
void TFsPath::MkDirs(const int mode) const {
CheckDefined();
- if (!Exists()) {
+ if (!Exists()) {
Parent().MkDirs(mode);
MkDir(mode);
- }
-}
-
+ }
+}
+
void TFsPath::ForceDelete() const {
if (!IsDefined()) {
return;