 |
ewmscp
..
|
Go to the documentation of this file.
24 stream << (bits & 4 ?
"r" :
"-") << (bits & 2 ?
"w" :
"-") << (bits & 1 ?
"x" :
"-");
27 switch (bits & S_IFMT) {
58 std::unique_ptr<const genericStat>& aStat,
74 std::ostream& logStream)
override {
78 escaper->escape(
source, name);
85 logStream << time <<
" ";
86 logStream << name <<
"\n";
108 const std::string& aSource,
110 std::unique_ptr<const genericStat>& aStat,
113 copyRequest::clock_type::time_point ) {
121 std::string& destination) {
122 if (!destination.empty()) {
123 sources.push_back(destination);
static options::single< bool > sortByTime
void printModeBits(std::ostream &stream, mode_t bits)
static factoryTemplate< listingRequestProvider > factory
bool compare(const base &rhs) const override
class specialisation for options of type bool
clock_type::time_point mTime
static void printFinalLine(std::ostream &)
copyRequest::base * newRequest(inputHandler::base *InputHandler, const std::string &aSource, const std::string &aDestination, std::unique_ptr< const genericStat > &aStat, const singleMap &aMapEntry, bool remove, copyRequest::clock_type::time_point timestamp) override
std::chrono::system_clock clock_type
type for time measurements
void printMode(std::ostream &stream, mode_t bits)
class for checking if checksums match expectations Extends the copyRequest::base class with new print...
static options::single< bool > sortBySize
std::unique_ptr< const genericStat > readInitialStat
const genericStat & getInitialStat() const
static singleMap dummyMapEntry
listingRequest(const std::string &aSource, std::unique_ptr< const genericStat > &aStat, inputHandler::base *aInputHandler)
class for thread-specific data
static const escapism * newEscaper(const std::string &name)
void prepareMappings(std::vector< std::string > &sources, std::string &destination) override
#define timerInst(subfunc)
std::pair< std::string, std::string > singleMap
static void prepareStatPrint()
setup statPrinter to print the final line for compatibiity mith eg. md5sum
static options::single< bool > reverse
void process(perThreadData &) override
static std::function< void(std::ostream &)> statPrinter
void printResults(std::ostream &, std::ostream &logStream) override
const std::string & getSource() const
static std::string singleDestination
#define defineStatic(var,...)
defines a static variable and instatitates the constructor with the variable number of arguments.