2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 23:07:43 +00:00

added index and config file management

This commit is contained in:
Jack Andersen
2015-06-10 13:34:14 -10:00
parent 5d2d2b010d
commit a6d28c2b2b
6 changed files with 375 additions and 66 deletions

View File

@@ -53,6 +53,9 @@ ProjectPath::ProjectPath(const ProjectRootPath& rootPath, const SystemString& pa
if (m_relPath[0] == _S('\0'))
m_relPath = NULL;
std::hash<std::string> hash_fn;
m_hash = hash_fn(std::string(m_relPath));
#if HECL_UCS2
m_utf8AbsPath = WideToUTF8(m_absPath);
m_utf8RelPath = m_utf8AbsPath.c_str() + ((ProjectPath&)rootPath).m_utf8AbsPath.size();
@@ -76,6 +79,11 @@ ProjectPath::PathType ProjectPath::getPathType() const
#endif
}
Time ProjectPath::getModtime() const
{
}
static void _recursiveGlob(std::vector<SystemString>& outPaths,
size_t level,
const SystemRegexMatch& pathCompMatches,