diff options
author | leo <leo@yandex-team.ru> | 2022-02-10 16:46:40 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:40 +0300 |
commit | 99609724f661f7e21d1cb08e8d80e87c3632fdb3 (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /util/folder/dirut.h | |
parent | 980edcd3304699edf9d4e4d6a656e585028e2a72 (diff) | |
download | ydb-99609724f661f7e21d1cb08e8d80e87c3632fdb3.tar.gz |
Restoring authorship annotation for <leo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/folder/dirut.h')
-rw-r--r-- | util/folder/dirut.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/folder/dirut.h b/util/folder/dirut.h index 95e265dcd1..2537027b12 100644 --- a/util/folder/dirut.h +++ b/util/folder/dirut.h @@ -1,17 +1,17 @@ #pragma once #include <util/system/defaults.h> -#include <util/system/sysstat.h> +#include <util/system/sysstat.h> #include <util/system/fs.h> #include <util/generic/string.h> #include <util/generic/yexception.h> -#include <sys/types.h> - +#include <sys/types.h> + #include <cerrno> #include <cstdlib> -#ifdef _win32_ +#ifdef _win32_ #include <util/system/winint.h> #include <direct.h> #include <malloc.h> @@ -35,14 +35,14 @@ char* mkdtemp(char* path); #ifndef DT_DIR #include <sys/stat.h> #endif -#endif +#endif bool IsDir(const TString& path); int mkpath(char* path, int mode = 0777); TString GetHomeDir(); - + void MakeDirIfNotExist(const char* path, int mode = 0777); inline void MakeDirIfNotExist(const TString& path, int mode = 0777) { |