45 "request provider",
"stop request received"
46 ,
"ignoring further requests");
49 char cmdbuff[4] = {0, 0, 0, 0};
50 stream.read(cmdbuff, 3);
51 auto readTime = copyRequest::clock_type::now();
56 double timestampAsDouble;
57 stream >> timestampAsDouble;
58 auto timestamp = copyRequest::clock_type::time_point(std::chrono::duration_cast<copyRequest::clock_type::duration>(std::chrono::duration<double>(timestampAsDouble)));
60 std::getline(stream, line, delimiter);
62 if (strcmp(cmdbuff,
"ig ") == 0) {
66 if (strcmp(cmdbuff,
"mv ") == 0) {
68 std::getline(stream, target, delimiter);
73 handleMove(target, dstPath, fromPath, line, mapEntryD, timestamp);
75 auto requestForRemoval = strcmp(cmdbuff,
"rm ") == 0;
79 handleOther(line, dstPath, mapEntry, timestamp, requestForRemoval);
81 auto enqueueDoneTime = copyRequest::clock_type::now();