struct mrpt::system::CDirectoryExplorer::TFileInfo

Overview

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 = false;
    bool isSymLink = false;
    uint64_t fileSize = 0;
};

Fields

std::string name

The file name part only, without path.

std::string wholePath

Full, absolute path of the file.

time_t modTime

Access and modification times.

uint64_t fileSize = 0

File size [bytes].