1 #ifndef EPT_POPCON_SOURCEDIR_H
2 #define EPT_POPCON_SOURCEDIR_H
28 #include <wibble/sys/fs.h>
57 bool readScores(std::map<std::string, Score>& out,
size_t& submissions);
Definition: popcon/maint/sourcedir.h:41
FileType fileType(const std::string &name)
Definition: popcon/maint/sourcedir.cc:26
Access a directory containing Debtags data files.
Definition: popcon/maint/sourcedir.h:38
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.
Definition: popcon/maint/sourcedir.cc:120
FileType
Definition: popcon/maint/sourcedir.h:41
Definition: popcon/maint/sourcedir.h:41
Definition: popcon/maint/sourcedir.h:41
SourceDir(const std::string &path)
Definition: popcon/maint/sourcedir.cc:18
~SourceDir()
Definition: popcon/maint/sourcedir.cc:22
time_t timestamp()
Return the time of the newest file in the source directory.
Definition: popcon/maint/sourcedir.cc:36