MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / containsPath

Method containsPath

source/core/StarLua.cpp:83–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83bool LuaContext::containsPath(String path) const {
84 return engine().contextGetPath(handleIndex(), std::move(path)) != LuaNil;
85}
86
87void LuaContext::load(char const* contents, size_t size, char const* name) {
88 engine().contextLoad(handleIndex(), contents, size, name);

Callers 3

initMethod · 0.80
uninitMethod · 0.80
TESTFunction · 0.80

Calls 1

contextGetPathMethod · 0.80

Tested by 1

TESTFunction · 0.64