MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / GetScriptFile

Method GetScriptFile

Source/Scripting/scriptfile.cpp:397–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395}
396
397const ScriptFile* ScriptFileUtil::GetScriptFile(const Path& path) {
398 return GetScriptFileRecursive(NULL, path);
399}
400
401void ScriptFileUtil::ReturnPaths(const Path& script_path, PathSet& path_set) {
402 path_set.insert("script " + script_path.GetOriginalPathStr());

Callers 1

HandleCollisionsMethod · 0.80

Calls 1

GetScriptFileRecursiveFunction · 0.85

Tested by

no test coverage detected