Support groupfolder scan
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
#include <mutex>
|
||||
#include "locations.h"
|
||||
#include "definitions.h"
|
||||
|
||||
std::vector<std::string> splitLogFile(const std::string& input, char delimiter);
|
||||
std::vector<std::string> splitString(const std::string& input, char delimiter);
|
||||
|
||||
class userManager
|
||||
{
|
||||
@@ -19,9 +19,11 @@ private:
|
||||
|
||||
public:
|
||||
|
||||
static std::string getScanCommandFromUser(const std::string&);
|
||||
|
||||
void addUserFromLogLine(std::string &line)
|
||||
{
|
||||
addUser(splitLogFile(line, '|').at(USER_LOG_LOCATION));
|
||||
addUser(splitString(line, '|').at(USER_LOG_LOCATION));
|
||||
}
|
||||
|
||||
void addUser(std::string &user)
|
||||
|
||||
Reference in New Issue
Block a user