#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. | |
| time_t | vocTimestamp () |
| Return the time of the newest vocabulary file in the source directory. | |
| time_t | tagTimestamp () |
| Return the time of the newest tag file in the source directory. | |
| template<typename OUT> | |
| void | readTags (OUT out) |
| Read the tag files in the directory and output their content to out. | |
| void | readVocabularies (VocabularyMerger &out) |
| Read the vocabulary files in the directory and output their content to out. | |
Protected Types | |
| enum | FileType { SKIP, TAG, VOC, TAGGZ, VOCGZ } |
Protected Member Functions | |
| FileType | fileType (const std::string &name) |
enum ept::debtags::SourceDir::FileType [protected] |
| ept::debtags::SourceDir::SourceDir | ( | const std::string & | path | ) | [inline] |
| SourceDir::FileType ept::debtags::SourceDir::fileType | ( | const std::string & | name | ) | [protected] |
| time_t ept::debtags::SourceDir::timestamp | ( | ) |
Return the time of the newest file in the source directory.
| time_t ept::debtags::SourceDir::vocTimestamp | ( | ) |
Return the time of the newest vocabulary file in the source directory.
| time_t ept::debtags::SourceDir::tagTimestamp | ( | ) |
Return the time of the newest tag file in the source directory.
| void ept::debtags::SourceDir::readTags | ( | OUT | out | ) | [inline] |
Read the tag files in the directory and output their content to out.
| void ept::debtags::SourceDir::readVocabularies | ( | VocabularyMerger & | out | ) |
Read the vocabulary files in the directory and output their content to out.
1.5.3