aboutsummaryrefslogtreecommitdiffstats
path: root/util/folder/dirut.h
diff options
context:
space:
mode:
authorIlnur Khuziev <ilnur.khuziev@yandex.ru>2022-02-10 16:46:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:13 +0300
commit736dcd8ca259457a136f2f9f9168c44643914323 (patch)
treeddd46a036d68bfa83aa11b892f31243ea6b068a1 /util/folder/dirut.h
parent9bf2fa2b060c9881d3135c2208c624a1dd546ecc (diff)
downloadydb-736dcd8ca259457a136f2f9f9168c44643914323.tar.gz
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'util/folder/dirut.h')
-rw-r--r--util/folder/dirut.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/folder/dirut.h b/util/folder/dirut.h
index 2537027b12..03de8ff143 100644
--- a/util/folder/dirut.h
+++ b/util/folder/dirut.h
@@ -2,7 +2,7 @@
#include <util/system/defaults.h>
#include <util/system/sysstat.h>
-#include <util/system/fs.h>
+#include <util/system/fs.h>
#include <util/generic/string.h>
#include <util/generic/yexception.h>
@@ -108,8 +108,8 @@ public:
if (!fname || !*fname)
return nullptr;
if (Strict) {
- NFs::EnsureExists(fname);
- } else if (!NFs::Exists(fname))
+ NFs::EnsureExists(fname);
+ } else if (!NFs::Exists(fname))
fname = nullptr;
return fname;
}