MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / createFromPath

Method createFromPath

radiantcore/map/MapResourceManager.cpp:16–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14{
15
16IMapResourcePtr MapResourceManager::createFromPath(const std::string& path)
17{
18 if (vcs::pathIsVcsUri(path))
19 {
20 return std::make_shared<VcsMapResource>(path);
21 }
22
23 return std::make_shared<MapResource>(path);
24}
25
26IMapResourcePtr MapResourceManager::createFromArchiveFile(const std::string& archivePath,
27 const std::string& filePathWithinArchive)

Callers 13

onSelectionChangedMethod · 0.80
performComparisonFunction · 0.80
TEST_FFunction · 0.80
setupGroupMergerFunction · 0.80
setupLayerMergerFunction · 0.80
setupThreeWayGroupMergerFunction · 0.80
setupThreeWayLayerMergerFunction · 0.80
TEST_FFunction · 0.80
importMethod · 0.80
saveAsMethod · 0.80

Calls 1

pathIsVcsUriFunction · 0.85

Tested by

no test coverage detected