aboutsummaryrefslogtreecommitdiffstats
path: root/util/folder/dirut.h
diff options
context:
space:
mode:
authorleo <leo@yandex-team.ru>2022-02-10 16:46:40 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:40 +0300
commit99609724f661f7e21d1cb08e8d80e87c3632fdb3 (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/folder/dirut.h
parent980edcd3304699edf9d4e4d6a656e585028e2a72 (diff)
downloadydb-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.h12
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) {