aboutsummaryrefslogtreecommitdiffstats
path: root/util/folder/dirut.cpp
diff options
context:
space:
mode:
authorvayerx <vayerx@yandex-team.ru>2022-02-10 16:52:04 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:52:04 +0300
commitd40bf94919f2035f1f522c4a285adce76f8f4edc (patch)
treeda42c929f1baf9413587bee9663b093830e8a751 /util/folder/dirut.cpp
parentb2577ab8779c4f6d23fc354eaa279f2e80b0fb37 (diff)
downloadydb-d40bf94919f2035f1f522c4a285adce76f8f4edc.tar.gz
Restoring authorship annotation for <vayerx@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/folder/dirut.cpp')
-rw-r--r--util/folder/dirut.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/folder/dirut.cpp b/util/folder/dirut.cpp
index ffc9b09f96..825e00f765 100644
--- a/util/folder/dirut.cpp
+++ b/util/folder/dirut.cpp
@@ -486,9 +486,9 @@ void MakePathIfNotExist(const char* path, int mode) {
NFs::MakeDirectoryRecursive(path, NFs::EFilePermission(mode));
if (!NFs::Exists(path) || !TFileStat(path).IsDir()) {
ythrow TSystemError() << "failed to create directory " << path;
- }
-}
-
+ }
+}
+
const char* GetFileNameComponent(const char* f) {
const char* p = strrchr(f, LOCSLASH_C);
#ifdef _win_