Remove unused includes

This commit is contained in:
alesapin 2022-12-08 18:53:05 +01:00
parent 1d893e2427
commit 965e3519e9
8 changed files with 17 additions and 18 deletions

View File

@ -1,5 +1,6 @@
#include "ICommand.h" #include "ICommand.h"
#include <Interpreters/Context.h> #include <Interpreters/Context.h>
#include <Common/TerminalSize.h>
namespace DB namespace DB
{ {

View File

@ -1,5 +1,6 @@
#include "ICommand.h" #include "ICommand.h"
#include <Interpreters/Context.h> #include <Interpreters/Context.h>
#include <Common/TerminalSize.h>
namespace DB namespace DB
{ {

View File

@ -1,5 +1,7 @@
#include "ICommand.h" #include "ICommand.h"
#include <Interpreters/Context.h> #include <Interpreters/Context.h>
#include <Common/TerminalSize.h>
namespace DB namespace DB
{ {

View File

@ -3,6 +3,7 @@
#include <IO/ReadBufferFromFile.h> #include <IO/ReadBufferFromFile.h>
#include <IO/WriteBufferFromFile.h> #include <IO/WriteBufferFromFile.h>
#include <IO/copyData.h> #include <IO/copyData.h>
#include <Common/TerminalSize.h>
namespace DB namespace DB
{ {

View File

@ -1,6 +1,7 @@
#include "ICommand.h" #include "ICommand.h"
#include <Interpreters/Context.h> #include <Interpreters/Context.h>
#include <Common/TerminalSize.h>
#include <IO/ReadBufferFromFile.h> #include <IO/ReadBufferFromFile.h>
#include <IO/WriteBufferFromFile.h> #include <IO/WriteBufferFromFile.h>
#include <IO/copyData.h> #include <IO/copyData.h>

View File

@ -1,12 +1,11 @@
#include "DisksApp.h" #include "DisksApp.h"
#include "ICommand.h"
#include <Disks/registerDisks.h> #include <Disks/registerDisks.h>
#include <base/argsToConfig.h> #include <Common/TerminalSize.h>
#include <Formats/registerFormats.h> #include <Formats/registerFormats.h>
#include "ICommand.h"
namespace DB namespace DB
{ {

View File

@ -2,10 +2,6 @@
#include <Loggers/Loggers.h> #include <Loggers/Loggers.h>
#include <Common/ProgressIndication.h>
#include <Common/StatusFile.h>
#include <Common/InterruptListener.h>
#include <Core/Settings.h>
#include <Interpreters/Context.h> #include <Interpreters/Context.h>
#include <Poco/Util/Application.h> #include <Poco/Util/Application.h>

View File

@ -2,7 +2,6 @@
#include <boost/program_options.hpp> #include <boost/program_options.hpp>
#include <Common/TerminalSize.h>
#include <Common/Config/ConfigProcessor.h> #include <Common/Config/ConfigProcessor.h>
#include <Poco/Util/Application.h> #include <Poco/Util/Application.h>
@ -52,13 +51,12 @@ using CommandPtr = std::unique_ptr<ICommand>;
} }
DB::CommandPtr makeCommandCopy();
std::unique_ptr <DB::ICommand> makeCommandCopy(); DB::CommandPtr makeCommandLink();
std::unique_ptr <DB::ICommand> makeCommandLink(); DB::CommandPtr makeCommandList();
std::unique_ptr <DB::ICommand> makeCommandList(); DB::CommandPtr makeCommandListDisks();
std::unique_ptr <DB::ICommand> makeCommandListDisks(); DB::CommandPtr makeCommandMove();
std::unique_ptr <DB::ICommand> makeCommandMove(); DB::CommandPtr makeCommandRead();
std::unique_ptr <DB::ICommand> makeCommandRead(); DB::CommandPtr makeCommandRemove();
std::unique_ptr <DB::ICommand> makeCommandRemove(); DB::CommandPtr makeCommandWrite();
std::unique_ptr <DB::ICommand> makeCommandWrite(); DB::CommandPtr makeCommandMkDir();
std::unique_ptr <DB::ICommand> makeCommandMkDir();