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;
    time_t accessTime;
    time_t modTime;
    bool isDir;
    bool isSymLink;
    uint64_t fileSize;
};

Fields

std::string name

The file name (without the whole path).

std::string wholePath

The whole file path.

time_t accessTime

Access and modification times.

uint64_t fileSize

The size of the file in bytes.