MCPcopy Create free account
hub / github.com/KDAB/codebrowser / ProjectInfo

Class ProjectInfo

generator/projectmanager.h:29–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27#include <unordered_map>
28
29struct ProjectInfo {
30 std::string name;
31 std::string source_path;
32// std::string description;
33// std::string version_info;
34// std::string repo_url; //may contains tags;
35 std::string revision;
36
37 std::string external_root_url;
38
39 //TODO
40 std::string fileRepoUrl(const std::string &file) const { return {}; }
41 enum Type { Normal,
42 Internal, //includes and stuffs
43 External, //links to external projects somewhere else, do not generate refs or anything,
44 // and link to a different ref source
45 } type = Normal;
46
47 ProjectInfo(std::string name, std::string source_path, Type t = Normal)
48 : name(std::move(name)), source_path(std::move(source_path)), type(t) {}
49 ProjectInfo(std::string name, std::string source_path, std::string rev)
50 : name(std::move(name)), source_path(std::move(source_path)), revision(std::move(rev)) {}
51};
52
53
54struct ProjectManager {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected