1 #ifndef EPT_POPCON_SOURCEDIR_H
2 #define EPT_POPCON_SOURCEDIR_H
28 #include <wibble/sys/fs.h>
48 SourceDir(
const std::string& path) : Directory(path) {}
56 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:24
Access a directory containing Debtags data files.
Definition: popcon/maint/sourcedir.h:38
-*- C++ -*- (c) 2006, 2007 Petr Rockai me@mornfall.net
Definition: apt.cc:43
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:121
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.h:48
time_t timestamp()
Return the time of the newest file in the source directory.
Definition: popcon/maint/sourcedir.cc:34