MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / getScriptHash

Function getScriptHash

src/scripts.cpp:63–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63uint64_t getScriptHash(QFileInfo finfo)
64{
65 QString fnam = finfo.baseName();
66 return murmur64(fnam.data(), fnam.size() * sizeof(QChar));
67}
68
69void getScripts(QMap<uint64_t, QString>& scripts)
70{

Callers 2

onLuaSaveAsMethod · 0.85
getScriptsFunction · 0.85

Calls 2

murmur64Function · 0.85
dataMethod · 0.45

Tested by

no test coverage detected