struct mrpt::system::CDirectoryExplorer::TFileInfo


This represents the information about each file.

See also:

#include <mrpt/system/CDirectoryExplorer.h>

struct TFileInfo
    // fields

    std::string name;
    std::string wholePath;
    mrpt::Clock::time_point accessTime;
    mrpt::Clock::time_point modTime;
    bool isDir = false;
    bool isSymLink = false;
    uint64_t fileSize = 0;


std::string name

The file name part only, without path.

std::string wholePath

Full, absolute path of the file.

mrpt::Clock::time_point accessTime

Access and modification times.

uint64_t fileSize = 0

File size [bytes].