MCPcopy Create free account
hub / github.com/DavidColson/Polybox / getHumanReadableModuleName

Method getHumanReadableModuleName

source/cpu.cpp:309–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307 }
308
309 std::string getHumanReadableModuleName(const Luau::ModuleName& name) const override {
310 String vfsBasePath = TempPrint("system/%s/", Cpu::GetAppName().pData);
311 std::string newName = std::string(name.c_str()+vfsBasePath.length, name.size()-vfsBasePath.length);
312 return newName;
313 }
314};
315
316// ***********************************************************************

Callers 1

CompileAndLoadModuleFunction · 0.80

Calls 1

GetAppNameFunction · 0.85

Tested by

no test coverage detected