diff options
author | vayerx <vayerx@yandex-team.ru> | 2022-02-10 16:52:04 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:52:04 +0300 |
commit | d40bf94919f2035f1f522c4a285adce76f8f4edc (patch) | |
tree | da42c929f1baf9413587bee9663b093830e8a751 /util/folder/dirut.cpp | |
parent | b2577ab8779c4f6d23fc354eaa279f2e80b0fb37 (diff) | |
download | ydb-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.cpp | 6 |
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_ |