Refactored command executors (better naming, documentation).

This commit is contained in:
Alexander Shaduri committed 2021-03-16 15:24:08 +04:00
1 parent cfc11bef6e
commit d74da816a1
31 files changed
+696 -546

No files matched your search

@@ -35,7 +35,7 @@ int main()
// sd.add_match_patterns(match_patterns);
sd.add_blacklist_patterns(blacklist_patterns);
auto ex_factory = std::make_shared<ExecutorFactory>(false);
auto ex_factory = std::make_shared<CommandExecutorFactory>(false);
std::string error_msg = sd.detect_and_fetch_basic_data(drives, ex_factory);
if (!error_msg.empty()) {
std::cerr << error_msg << "\n";