#ifndef FILE_TREE_H #define FILE_TREE_H #include #include #include #include "utility/file/FilePath.h" class FileTree { public: FileTree(const FilePath& rootPath); FilePath getAbsoluteRootPathForRelativeFilePath(const FilePath& relativeFilePath); std::vector getAbsoluteRootPathsForRelativeFilePath(const FilePath& relativeFilePath); private: std::vector doGetAbsoluteRootPathsForRelativeFilePath(const FilePath& relativeFilePath, bool allowMultipleResults); FilePath m_rootPath; std::unordered_map> m_files; }; #endif // FILE_TREE_H