diff options
author | rdna <rdna@yandex-team.ru> | 2022-02-10 16:48:05 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:05 +0300 |
commit | 37a2795395ba606e239b750ff2afb17905274ec4 (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /util/folder/path.cpp | |
parent | 7804d69d166cc162c0be19dafd698a6ad7e42b25 (diff) | |
download | ydb-37a2795395ba606e239b750ff2afb17905274ec4.tar.gz |
Restoring authorship annotation for <rdna@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/folder/path.cpp')
-rw-r--r-- | util/folder/path.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/folder/path.cpp b/util/folder/path.cpp index 0e162cd7f62..bfe0c67d687 100644 --- a/util/folder/path.cpp +++ b/util/folder/path.cpp @@ -363,7 +363,7 @@ void TFsPath::DeleteIfExists() const { } } -void TFsPath::MkDir(const int mode) const { +void TFsPath::MkDir(const int mode) const { CheckDefined(); if (!Exists()) { int r = Mkdir(this->c_str(), mode); @@ -378,11 +378,11 @@ void TFsPath::MkDir(const int mode) const { } } -void TFsPath::MkDirs(const int mode) const { +void TFsPath::MkDirs(const int mode) const { CheckDefined(); if (!Exists()) { - Parent().MkDirs(mode); - MkDir(mode); + Parent().MkDirs(mode); + MkDir(mode); } } |