|
libept
|
Access a directory containing Debtags data files. More...
#include <sourcedir.h>
Public Member Functions | |
| SourceDir (const std::string &path) | |
| time_t | timestamp () |
| Return the time of the newest file in the source directory. | |
| bool | readScores (std::map< std::string, Score > &out, size_t &submissions) |
| Read the tag files in the directory and output their content to the map. | |
Protected Types | |
| enum | FileType { SKIP, RAW, RAWGZ } |
Protected Member Functions | |
| FileType | fileType (const std::string &name) |
Access a directory containing Debtags data files.
|
protected |
|
inline |
|
protected |
| bool ept::popcon::SourceDir::readScores | ( | std::map< std::string, Score > & | out, |
| size_t & | submissions | ||
| ) |
Read the tag files in the directory and output their content to the map.
Referenced by ept::popcon::PopconIndexer::rebuild().
| time_t ept::popcon::SourceDir::timestamp | ( | ) |
Return the time of the newest file in the source directory.
References ept::axi::timestamp().
Referenced by ept::popcon::PopconIndexer::rescan().
1.8.1.1