From b426b1408d8c6b6bd17a7dc8c8a307ed891f481b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Tue, 9 Feb 2021 21:44:57 +0100 Subject: Storage: drop superfluous directory creation --- src/storage.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/storage.cpp') diff --git a/src/storage.cpp b/src/storage.cpp index 63d3fd3..607d71a 100644 --- a/src/storage.cpp +++ b/src/storage.cpp @@ -41,10 +41,6 @@ using std::to_string; FilesystemStorage::FilesystemStorage(const fs::path & path): root(path) { - fs::create_directories(path/"blake2"/"objects"); - - if (!fs::is_directory(path/"heads")) - fs::create_directory(path/"heads"); } FilesystemStorage::~FilesystemStorage() -- cgit v1.2.3