MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / Produce

Method Produce

src/auto4_lua.cpp:1042–1047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1040 }
1041
1042 std::unique_ptr<Script> LuaScriptFactory::Produce(agi::fs::path const& filename) const
1043 {
1044 if (agi::fs::HasExtension(filename, "lua") || agi::fs::HasExtension(filename, "moon"))
1045 return std::make_unique<LuaScript>(filename);
1046 return nullptr;
1047 }
1048}

Callers 1

CreateFromFileMethod · 0.80

Calls 1

HasExtensionFunction · 0.85

Tested by

no test coverage detected